Jump to content

Can Imagick::chopImage be used in PHP4??????


spires

Recommended Posts

Hi Guys

 

I really need to be able to crop an image, but It has to be done using PHP4

as our server is not set up for PHP5 due to some old websites.

 

I came across: Imagick::chopImage

This looks to be exactly what I need.

 

Does any one know of a work around for none OOP coding?

 

Basically, I need to crop an image from 665px to 500px width.

Removing the right hand side of the image.

 

 

Thanks for your help

Link to comment
https://forums.phpfreaks.com/topic/123902-can-imagickchopimage-be-used-in-php4/
Share on other sites

 

PHP >= 5.1.3 and ImageMagick >= 6.2.4 is required. The amount of formats supported is by Imagick is entirely dependent upon the amount of formats supported by your ImageMagick installation. For example, Imagemagick requires ghostscript to conduct PDF operations.

 

On the other hand, you CAN have both PHP4 and PHP5 running on one server.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.