> after upgrading to Batik 1.1.1 I have some problems getting the color of
> PNGs right. Basically I just run PNGTranscoder on an SVG file and e.g.
> #EE9D00 (given as fill="rgb(236,158,0)" for a <rect>) turns into
> #F6A100. The JPEGTranscoder works fine. Problem can be reproduced by
> running batik-rasterizer.jar from 1.1.1 on this:

I think we have changed the default transparency settings for .png images to
solve issues we had and that I don't remember.

You can probably get the previous behavior by using a TranscodingHint.
Sorry for that.

> The problem disappears when the filter effect or the whole <text> is
> removed. Transcoding this SVG with batik-rasterizer into a JPEG failed
> somehow (empty image of appropriate size). Is this wrong:
>
> Any ideas what's going on?

You are right and I have no idea why the image is white. Anyway, the jpeg
image is correct with the current CVS codebase (and may be 1.5beta1 - no
time to check).

Note: Although 1.5 is tagged as a beta, the static part of batik is
unchanged in terms of features and stability. Our criteria is 'no regression
for all our tests' before any release (even beta).

Thierry.



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

Reply via email to