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
Server is down with 503 error when loading big pdf(8Mb, 40 pages). It's because you puting file in construct method Imagick.
$this->imagick = new Imagick($pdfFile);
But why whole file if i need only one page. In method getImageData there is instruction that page is need use for generate preview.
$this->imagick->readImage(sprintf('%s[%s]', $this->pdfFile, $this->page - 1));
If you need read all file don't indicate index of page. Like this:
$this->imagick->readImage($this->pdfFile);
After then i deleted file from constructor Imagick
$this->imagick = new Imagick();
And all works fine. If you want pick another page there is method setPage
The text was updated successfully, but these errors were encountered:
I'd accept a test that fixes this. Alle current tests should pass.
Sorry, something went wrong.
@freekmurze, can you please review this PR #171
Successfully merging a pull request may close this issue.
Server is down with 503 error when loading big pdf(8Mb, 40 pages).
It's because you puting file in construct method Imagick.
$this->imagick = new Imagick($pdfFile);
But why whole file if i need only one page. In method getImageData there is instruction that page is need use for generate preview.
$this->imagick->readImage(sprintf('%s[%s]', $this->pdfFile, $this->page - 1));
If you need read all file don't indicate index of page. Like this:
$this->imagick->readImage($this->pdfFile);
After then i deleted file from constructor Imagick
$this->imagick = new Imagick();
And all works fine. If you want pick another page there is method setPage
The text was updated successfully, but these errors were encountered: