...just to point out that I used the same image with the FOP binary from November 13th, and the result was *ok*.
What changed between these versions???

Also I tried to convert to indexed colors with transparency (in photoshop) and it also works. But full PNG (RGB, 24-bit) with transparency doesn't. We updated fop (for various reasons) on the client server and got to this bad situation :((
it's urgent otherwise they will chop my head off :|
cheers
Martin

Martin Zak wrote:
Hi all,
really I'm the only one who came to this issue??
Any feedback is welcomed...
Thanks
Martin

-------- Original Message --------
Subject:     PNG transparency renders as black
Date:     Thu, 07 Dec 2006 16:09:18 +0100
From:     Martin Zak <[EMAIL PROTECTED]>
Reply-To:     [email protected], [EMAIL PROTECTED]
Organization:     Ginger Alliance
To:     [email protected]



Hi all,
I had to go for a trunk version of FOP due to some fixes available in this version. Unfortunately it seems I came to the bug which was introduced in some of the new versions.

When including PNG image containing transparent areas (using fo:external-graphic), the image is corrupted. The transparent area is rendered in black and also the image itself seems to doubled while shifted down (see the sample). I used the same image with the FOP binary from November 13th, and the result was ok. Also the size of the resulting pdf differs a lot (141kB with old/correct version against 37kB with new/wrong).

(BTW how do I find the build version when fop says "FOP Version svn-trunk" ?? Where to look for the version info?)

Any idea what could change?
(we use fop in production and got to troubles after the update :| )

Files:
png_transparency.fo
test.png
png_transparency_good.pdf [pdf generated with fop trunk of November 13th] png_transparency_wrong.pdf [pdf generated with fop trunk of today (December 7th)]

Cheers
Martin





------------------------------------------------------------------------

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

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

Reply via email to