[
https://issues.apache.org/jira/browse/PDFBOX-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13283981#comment-13283981
]
John T. Dow edited comment on PDFBOX-1322 at 5/26/12 2:06 PM:
--------------------------------------------------------------
I am sending a 4-color gif and the pdf that includes the image. If I view the
pdf, the colors are correct. If I print it via Adobe, the colors are correct.
If I print it from my application (which uses pdfbox for scaling), the colors
are incorrect.
was (Author: johntdow):
4 colors
> gif with less than 256 colors prints wrong colors
> -------------------------------------------------
>
> Key: PDFBOX-1322
> URL: https://issues.apache.org/jira/browse/PDFBOX-1322
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.6.0
> Environment: windows 7, java 1.6, jasperreports/ireport 4.5.1
> Reporter: John T. Dow
> Labels: accuracy, color
> Attachments: GIF_Color_Test.PDF, mastercard_logo.gif
>
>
> Using JasperReports, generate report with embedded jpg image. To make the
> resulting pdf smaller, I converted the image to a gif and tried to use as few
> colors as possible. The image is very simple and jpg wasn't the correct
> format to begin with, since it just has three colors. I used fsview to reduce
> the number of colors from 256 to 4. It is correct when printed by adobe, but
> when the java program, using pdfbox, prints it, the white background is
> prints as grey and the solid blue section seems less saturated so it's a
> light blue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira