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

Xavier Perseguers typo3 at perseguers.ch
Tue Nov 18 11:15:25 CET 2008


>>>> 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.

I guess this is where the problem rely. Search the documentation for the 
underlying software used by pdf_generator_2 (fpdf ?). I'm pretty sure 
this is a bug similar to the lack of support of 8-bit alpha channel in 
IE6...

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


More information about the TYPO3-english mailing list