Thierry Kormann wrote: >>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. > Could you be more specific? I don't understand the problem so I don't know which TranscodingHint to use -- sorry, I am not too firm in using Batik :-(
In any case: I'd consider this to be a bug since IMHO (a) the colors produced for JPEGs and PNGs should be the same (at least if possible on the JPEG side) and (b) I can't see why the drop shadow effect on the text effects the whole image. The problem occurs only if the filter effect is used on the text; a plain rectangle, even a rectangle with the text on top of it works -- as long as the drop shadow is turned off. Can you give me an idea where this connection between filter effect and color could be in the code? I might go for a debugging session myself if I find time and motivation... Thanks so far, Peter --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
