>>>>> "PB" == Peter Becker <[EMAIL PROTECTED]> writes:

PB> Hello, I encountered some problems with Batik-generated PNGs in
PB> IE5.5: the colors where completely wrong (e.g. an orange looked
PB> light yellow).  Netscape 4.x and my image viewer had no problems.

    I assume this is with the Batik 1.0 release?

PB> I tracked this down to line 63 in
PB> org.apache.batik.transcoger.image.PNGImageTranscoder:

PB>     params.setGamma(2.4f);

PB> After I uncommented this line all works well -- so it is probably
PB> not a bug but a feature in IE ;-)

PB> What should the change of the gamma value gain? Does uncommenting
PB> this break something?

    Actually the use of a gamma of 2.4 was a mistake on our part.
This points out that IE properly implements PNG and the others don't
(as much as it pains me to say that :).

    This bug should be fixed in the current CVS of Batik.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to