The Wayback Machine - https://web.archive.org/web/20210829210948/https://github.com/topics/imagick
Skip to content
#

imagick

Here are 53 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

adminfriso
adminfriso commented Jul 30, 2021

Dear Spatie,

In the documentation it is said that Manipulations::FIT_FILL behaves like FIT_CONTAIN, but adding extra empty pixels. However it actually behaves like FIT_MAX and adding extra pixels.

Uploading an image from 200x100 and doing the manipulation ->fit(Manipulations::FIT_FILL, 400, 400) results in the behaviour that the image does end up as 400x400 but it not upscales an

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