Skip to content
#

imagick

Here are 45 public repositories matching this topic...

truechernyshov
truechernyshov commented Jan 11, 2020

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

Improve this page

Add a description, image, and links to the imagick topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the imagick topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.