Jump to content

Archived

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

fezzik

Cropping Images

Recommended Posts

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

×

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.