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

Xavier Perseguers typo3 at perseguers.ch
Tue Nov 18 10:18:51 CET 2008


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?

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en/tutorials/typo3.html


More information about the TYPO3-english mailing list