Description
The default imageType for PDFImageWriter.writeImage() is 8, which is TYPE_USHORT_565_RGB. I suggest to use TYPE_INT_RGB instead. The current default might create a poor user experience.
I also suggest that the type and the resolution ("screen resolution or 96 if not detected") be added to the javadoc.
Finally, the variable "imageType" is used with two different meanings in that file: once as a string for the format, once as int for the BufferedImage type.
Attachments
Attachments
Issue Links
- is related to
-
PDFBOX-1730 Image in PDF has extremely different colors when rendered
- Closed