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 Mon, 27 Jul 2009 09:00:56 GMT

--- Comment #3 from Max Berger <max@berger.name>  2009-07-27 02:00:53 PST ---
Created an attachment (id=24040)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24040)
Patch for fop to use embedded profiles

I've added support for passing ICC Profiles in FOP to PDF, see the attached
patch. This fixes the sample files given.

As Jeremias noted that this is only a workaround and may result in
double-applying of color profiles, a more thorough investigation is needed to
fix this properly. Therefore the patch is as yet unapplied.

Possible direction: Maybe it is possible to extract a version of the ImageIO
codec? We could then at least support the "workaround" for some known broken
implementations (sun jdk 1.x - 1.x ?). Maybe it is also in the ImageIO spec not
to apply the icc profile (altough I could not find anything)?

Another option: JAI (>=1.1) seems to support ICC Profiles. Direction: Test with
and without the current patch to see if it breaks. Possibly suggest that
everyone using color profiles should install JAI.

I would prefer to keep ImageIO rather than a special codec, to keep fop/xgc
smaller (although XGC does contain a PNG implementation atm)


Addtl. References:



Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list 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