|
This is unfortunatly a technical limitation to the way the PNG parser works. I assume this is a RGB + Alpha channel image. The way PDF works is to create two images from one and overlay them as two data streams. PNG is an integrated format. As a result putting out a transparent alpha png requires looping the entire thing and copying out the transparency data. The key bit of code is... //Iterate every pixel and copy out rgb data and alpha channel (this will be slow) However, this peice of code is being upgraded to the new fileparsers so, any improvement to this should occur after the fileparser upgrades are done. (Which is being worked on in the community, but not at zend afaik) Alexander - are you actively working on this? If not, I have a newer parser half-finished that should help address this; please assign to me. Hi Willie! No. I don't touch these things now. Unassigning Zend_Pdf issues currently assigned to me pending decision on ZF 2.0 release timeframe and potential contribution of comprehensive changeset. |
|||||||||||||||||||||||||||||||||||||||||
Alexander, related to your comment on my blog, I can't attach the image since it's a copyrighted one but I think any A4 image with a lot of transparency may cause the problem. I'll test during the week with an other (home made) image to check.