spires Posted September 12, 2008 Share Posted September 12, 2008 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 More sharing options...
Mchl Posted September 12, 2008 Share Posted September 12, 2008 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. Link to comment https://forums.phpfreaks.com/topic/123902-can-imagickchopimage-be-used-in-php4/#findComment-639644 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.