how to crop an image

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
lukelee
Forum Commoner
Posts: 28
Joined: Wed Sep 10, 2008 2:03 am

how to crop an image

Post by lukelee »

If i upload an 300X400 image to replace the old image which is 300X300 on my website through cms, the image will be stretched, does anyone know how to make a crop image function? or is there any tutorial?thanks
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: how to crop an image

Post by jaoudestudios »

User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: how to crop an image

Post by Eran »

Check out php-image, an open-source image manipulation library - http://code.google.com/p/php-image/
Post Reply