xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47561] png color profiles seem to get lost during transfer to PDF
Date Fri, 24 Jul 2009 12:30:27 GMT

Max Berger <max@berger.name> changed:

           What    |Removed                     |Added
         AssignedTo|general@xmlgraphics.apache. |max@berger.name
                   |org                         |

--- Comment #1 from Max Berger <max@berger.name>  2009-07-24 05:30:24 PST ---

thanks for the report. I had to modify your .fo file slightly to get both
pictures side-by-side, but that was not a problem.

Also, I noticed that evince showed both graphics to be the same, whereas
acroread does show them differently.

JPEG and PNG are treated very differently in XMLGraphics / FOP: JPEG is kept in
"RAW" format, and as such is written directly to the PDF, preserving all
properties. PNG is loaded through ImageIO and then painted as new bitmap onto
the PDF. 

I have implemented extraction of the ICC profile from PNG when loaded through
ImageIO (rev. 797427). The PNG now has the correct color profile internally.
Unfortunately this information is still lost on the way into the PDF, which I
plan to look into soon.

What I would like from you: Could you "donate" the two files (PNG + JPEG) to
Apache XMLGraphics, so that I can include them as a test case? (A sentence
saying we're free to use them should suffice)


Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org

View raw message