myokyawhtun / PDFMerger

PDFMerger compatible for PHP 5, PHP 7, and PHP 8
238 stars 272 forks source link

TCPDF_PARSER ERROR: decodeFilterFlateDecode: invalid code #75

Open ankit-parekh1 opened 11 months ago

ankit-parekh1 commented 11 months ago

Hello,

I'm encountering an issue while using PDFMerger, and the error message is as follows:

TCPDF_PARSER ERROR: decodeFilterFlateDecode: invalid code

This error doesn't happen with every merge, most files work fine. However, for a few of them, the merging process fails with this error. Could you please provide insights into the cause of this issue?

I have included the PDF files that failed to merge for your reference below.

22998087 inbound.pdf 22998087 outbound.pdf

Thanks a lot in advance!

swbittib commented 5 days ago

Hi there, I have same issue...

the error is due to the tcpdf library, but if I try to use the latest version the tcpdi.php file does not exist. Did you solve it somehow by chance? thanks