Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

decodeFilterFlateDecode error #766

Open
swbittib opened this issue Nov 28, 2024 · 0 comments
Open

decodeFilterFlateDecode error #766

swbittib opened this issue Nov 28, 2024 · 0 comments

Comments

@swbittib
Copy link

se si prova a parsare il file in allegato si riceve il seguente errore:

[28-Nov-2024 15:55:05 Europe/Rome] PHP Fatal error: Uncaught Exception: TCPDF_PARSER ERROR: pdf-test.pdf: invalid code in /................/tcpdf/include/tcpdf_filters.php:474
Stack trace:
#0 /..................../tcpdf/include/tcpdf_filters.php(359): TCPDF_FILTERS::Error('decodeFilterFla...')
#1 /..................../tcpdf/include/tcpdf_filters.php(94): TCPDF_FILTERS::decodeFilterFlateDecode('\e\x9F2yH\t\xD4\x1F\x8D\x87't<\xB3\xA8...')
#2 /..................../tcpdf/tcpdi_parser.php(1314): TCPDF_FILTERS::decodeFilter('FlateDecode', '\e\x9F2yH\t\xD4\x1F\x8D\x87't<\xB3\xA8...')
#3 /..................../tcpdf/tcpdi_parser.php(1253): tcpdi_parser->_rebuildContentStream(Array)
#4 /..................../tcpdf/tcpdi.php(192): tcpdi_parser->getContent()
#5 /..................../PDFMerger.php(105): TCPDI->importPage(1)
#6 printpdf3.php(518): PDFMerger\PDFMerger->merge('file', '/xxxxxxxxx/xxxxxxxxxxxx...')
#7 {main}
thrown in /..................../tcpdf/include/tcpdf_filters.php on line 474

pdf-test.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant