We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
Here is the code that trigger a memory limit fatal error :
require_once base_path('vendor/tecnickcom/tcpdf/tcpdf.php'); require_once base_path('vendor/propa/tcpdi/tcpdi.php'); $pdf = new \TCPDI(); $nb_pages = $pdf->setSourceFile(base_path('/public/uploads/' . $document->url)); // HERE !!!
The stack trace shows that the error comme from the tcpdi_parser.php file in this method :
tcpdi_parser.php
protected function getRawObject($offset=0, $data=null) { // }
I think the problem come to the compression method, which is FlateDeflate.
Here are 2 problematic PDF : document1 document2
I host thousands of pdf files shared by several people, so it's impossible for me to know whether they've compressed them or not. Is there a solution?
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
Here is the code that trigger a memory limit fatal error :
The stack trace shows that the error comme from the
tcpdi_parser.php
file in this method :I think the problem come to the compression method, which is FlateDeflate.
Here are 2 problematic PDF :
document1
document2
I host thousands of pdf files shared by several people, so it's impossible for me to know whether they've compressed them or not. Is there a solution?
Thanks!
The text was updated successfully, but these errors were encountered: