> You mean the image from the external-graphic is lighter than the one
> painted through SVG/Batik when you render the attached FO file to PNG
> instead of PDF?
That is indeed what I refer to
 
> This has something to do with color management which is something I've
> only started to understand. Bitmap image handling is optimized for PDF
> (using decoded byte arrays instead of RenderedImage/BufferedImage for
> bitmaps) and this is probably the first time we see the side-effect of
> this. It's line 953 in Java2DRenderer where CS_LINEAR_RGB is used
> instead of CS_sRGB. But just setting this to CS_sRGB is possibly wrong
> in other cases. That's why I think the org.apache.fop.image package
> needs to be refactored to use RenderedImage/BufferedImage.

I tried it and it indeed fixes the reported issue

> I will likely work on this in the next three months. But help is welcome,
> of course.
> 
I do need an xsl/svg implementation that has color management right or at
least "good enough". This includes cmyk support (see another post on the dev
list). For now I would prefer to continue using fop and help where possible
to get the fop support better. That is, assuming the effort involved is
"acceptable", something which is difficult for me to judge at this stage.




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

Reply via email to