Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FPDF error: Alpha channel not supported:

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.

like image 813
Farid Siddiqui Avatar asked Oct 17 '12 15:10

Farid Siddiqui


1 Answers

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/

like image 167
user1111929 Avatar answered Oct 13 '22 00:10

user1111929