Skip to content
#

ghostscript

Here are 101 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 ghostscript 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 ghostscript topic, visit your repo's landing page and select "manage topics."

Learn more