[TYPO3-english] Problem with pdf_generator_2 and PNGs (black background)

Manuel Rego Casasnovas mrego at igalia.com
Tue Nov 18 11:01:46 CET 2008


Hello Xavier,

On Tue, 2008-11-18 at 10:18 +0100, Xavier Perseguers wrote:
> Hello Rego,
> 
> >> I'm using pdf_generator_2 [1] to generate PDFs file from the pages on a
> >> website, I'm using this extension because of I need CSS support.
> >>
> >> I have a problem with PNG images, all PNGs appear with a black
> >> background.
> >> With other image extensions I don't have any problem.
> >>
> >> Any idea about how ti fix this issue?
> > 
> > I've been doing more tests and I have problems only with transparent PNG
> > images.
> > For example GIF transparent images work properly and PNG with
> > blackground color also work right.
> 
> Did you test whether it was related to 32-bit PNG (thus with 8-bit alpha 
> channel) and not with PNG with 1 transparent color (thus same as GIF) or 
> does it occur with all PNG, regardless of the depth of the alpha channel?

My files are all 32-big PNG, I don't have any PNG with less bits.

Thank you,
   Rego

-- 
Manuel Rego Casasnovas
Computer Science Engineer
mailto:mrego at igalia.com
Tel: +34 986 10 76 10
Fax: +34 981 91 39 49
Igalia - http://www.igalia.com


More information about the TYPO3-english mailing list