pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Lehmkühler (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (PDFBOX-1322) gif with less than 256 colors prints wrong colors
Date Tue, 29 May 2012 16:31:23 GMT

     [ https://issues.apache.org/jira/browse/PDFBOX-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Andreas Lehmkühler resolved PDFBOX-1322.

       Resolution: Not A Problem
    Fix Version/s: 1.7.0

Works fine with the all new version 1.7.0 of PDFBox [1], see attached ps-print

[1] http://pdfbox.apache.org/download.html
> 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
>            Assignee: Andreas Lehmkühler
>              Labels: accuracy, color
>             Fix For: 1.7.0
>         Attachments: GIF_Color_Test.PDF, PDFBOX1322-GIF_Color_Test.ps.zip, 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


View raw message