Skip to content

Tag: imagick

WordPress – Blur Image on Upload

So I’m following the example given here (which I modified to only blur, no watermark), to make a blurred image in WordPress on upload. The problem is, that if the uploaded file is the exact same size, or smaller, than the set size, then WordPress will not generate an image, and hence no blurred one will…

PHP Imagick memory leak

I have to render something with Imagick on PHP CLI. I have noticed that every 3-5 days the server memory gets full, so i can’t even connet via ssh or ftp. with memory_get_usage() i narrwoed the memory leak down to the imagick part of the script. the script looks something like this: I destroy the image …

Creating two pdf pages with Imagick

Currently i can create PDF files from images in Imagick with this function And it’s possible to fetch multiple pages with imagick like this But is it possible to save two image objects to two pages? (example of what i am thinking, its not possible like this) Answer I know this is long past due, but this…