Skip to content

Tag: imagick

Convert PDF to PNG without transparent background

I use the following code to convert PDF to PNG. As you can see, I use code setImageAlphaChannel(Imagick::ALPHACHANNEL_REMOVE ) to remove the background transparency. But in practice it only works for the last page. Do you think there is a problem with the code? Do you have a better solution with a higher spee…

imageMagick gif is moving out of frame

I have this simple code to rotate a static image with imageMagick on PHP For some reason, it is being offset with each new image, like this: How can I make it to stop moving out of frame? Answer I am not an expert in PHP Imagick, but your issue is that rotateImage() always seems to rotate about the top

Changing arc direction in php Imagick

I’m using Imagick in php to process and overlap images using compositeImage and then curve the top and bottom borders of the image. To achieve this I used DISTORTION_ARC: This is making the image arc shaped but I’m looking to reverse the direction of the arc(https://photos.app.goo.gl/1JAthzLBoVsoz…