Thomas E Deweese wrote:
>
> >>>>> "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 :).
Yes, I expected this and I felt esp. bad to notice that my beloved
picture viewer doesn't have this feature :-( But to make you happy
again: IE5.x (and 6b1) fails completely with p:first-letter (CSS) *g* It
produces so serious problems that I had to fall back into XSLT to create
this effect.
> This bug should be fixed in the current CVS of Batik.
Currently I distribute my two patches (this one and the white edges
problem) as class files with my program -- is this ok or should I use
the CVS version? Will there be an 1.1 or 1.0.1 release in the next time?
Is there a list/place to stay up to date with Batik problems without too
much work? Bugzilla is quite complex and noisy, an announcement list
would be cool ;-)
While trying to use Bugzilla I found this:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1559
It seems someone has a different opinion on how to handle PNGs --
exactly the problem I feared to cause :-( Can you check this and add a
comment? Maybe I really should open an account :-(
Thanks,
PeterB
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]