Re: [xsl] Transparent Images

Subject: Re: [xsl] Transparent Images
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Tue, 24 Feb 2004 23:09:40 +0100
Mark Williams wrote:
I don't know if this is an xsl problem or a fop problem.  What I am first
trying to establish is what should be the default xsl behaviour for a
transparent png in this context.  Should the grey background underneath show
through the transparent sections of the png?

XSLFO doesn't go into much of a detail when it comes to handling external graphics. Basically, it states "processor specific". Well, PDF can handle transparent PNG, and I thought Jimi (used by FOP) is able to transform PNG with alpha channel into the corresponding PDF data. You might have hit a PNG subformat which isn't supported by Jimi (it's old), or a bug. Try converting the PNG into a GIF first and see whether it works, or into another PNG subformat (preferably 16 bit color).

J.Pietschmann

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread