Hi,

I quickly tried your files after processing them into png8 and png 24 with 
Adobe Illustrator: the transparency is working with png 8, not with PNG24 (I'm 
using FOP 0.20.5). I didn't investigate further. I hope this helps. I join the 
files.
Nadege

-----Message d'origine-----
De : Martin Zak [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 19 décembre 2006 17:38
À : fop-users@xmlgraphics.apache.org
Objet : PNG transparency renders as black - urgent

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:       fop-users@xmlgraphics.apache.org, [EMAIL PROTECTED]
Organization:   Ginger Alliance
To:     fop-users@xmlgraphics.apache.org



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





Attachment: MartinZak8.png
Description: MartinZak8.png

Attachment: MartinZak24.png
Description: MartinZak24.png

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

Reply via email to