I am trying to generate PDF from HTML (output of a PHP file).
I am using FPDF to generate the PDFs.
I have three PNG transparent images (Alpha channel), that go on top of each other and it looks like one image.
The minute FPDF encounters the first image it give me “FPDF error: Alpha channel not supported:”
Is there a work arround this. Any help will be much appritiated.
DOMPDF has done the trick for me. It supports the Alpha channels images very well. It manages the CSS floats quite well.
As compare to non-alpha channel images, it takes alot more time to process tranparent PNG (Alpha Channel images).
Because of the size of my HTML and the number of images, my script was taking couple of seconds more than, what is allowed by my host in terms of execution time.
By increasing the execution time and DOMPDF, now it all works to perfection.
I hope it will be helpfull to someone else.