You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xmlgraphics.apache.org by bu...@apache.org on 2009/07/24 14:30:27 UTC

DO NOT REPLY [Bug 47561] png color profiles seem to get lost during transfer to PDF

https://issues.apache.org/bugzilla/show_bug.cgi?id=47561


Max Berger <ma...@berger.name> changed:

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




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

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)

Max

-- 
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