Answer the question
In order to leave comments, you need to log in
How to fix error in FPDF with PNG files?
How to fix error in FPDF with PNG files? Uncaught Exception: FPDF error: Not a PNG file: Media/images/users/1/20220130155154793.png however the file is in .png format
Answer the question
In order to leave comments, you need to log in
Based on discussions of similar issues on SO, FPDF has a problem with transparent PNGs.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question