fezzik Posted October 13, 2006 Share Posted October 13, 2006 Anyone have a link or an example of a decent code to crop images? I'm looking for a script that will crop an image if the origin is set as the center of the image.Cheers,Fezzik Link to comment https://forums.phpfreaks.com/topic/23868-cropping-images/ Share on other sites More sharing options...
gmwebs Posted October 13, 2006 Share Posted October 13, 2006 Hey Fezzik,Have a look at CropCanvas at [url=http://php.amnuts.com]http://php.amnuts.com[/url] it is a great class and easy to use.HTH Link to comment https://forums.phpfreaks.com/topic/23868-cropping-images/#findComment-108503 Share on other sites More sharing options...
fezzik Posted October 13, 2006 Author Share Posted October 13, 2006 Thanks for responding! I have actually been working with the CropCanvas class found at that site. Unfortunately I haven't been able to get the saveImage() or saveFinal() function to work correctly. Both functions are not saving as intended. I noticed other posts on the site's forum about the issue but didn't notice a fix. I should make a post in the site forum about the issue and see if I get a response. Thanks again! Link to comment https://forums.phpfreaks.com/topic/23868-cropping-images/#findComment-108615 Share on other sites More sharing options...
fezzik Posted October 13, 2006 Author Share Posted October 13, 2006 Death to syntax! Thanks again for posting gmwebs. You motivated me to take another look at CropCanvas. I noticed that I was using incorrect syntax and have corrected the issue. Everything is functioning correctly now. Cheers,Fezzik Link to comment https://forums.phpfreaks.com/topic/23868-cropping-images/#findComment-108623 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.