FPDF error: Alpha channel not supported:

Farid Siddiqui picture Farid Siddiqui · Oct 17, 2012 · Viewed 29.8k times · Source

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.

Answer

user1111929 picture user1111929 · Apr 25, 2013

Actually, there is a fan-made extension that does allow alpha channels. Try it, it is just PHP code: http://www.fpdf.de/downloads/addons/1091/