Cutting Images

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
wizzard
Forum Commoner
Posts: 93
Joined: Thu May 16, 2002 5:36 am
Location: Belgium
Contact:

Cutting Images

Post by wizzard »

Hello,

I was wondering if it is possible to cut a part out of images with php. Well i have a classified ad system i want if the width is bigger then 200 pixels to cut out the part thats bigger then 200. Is something possible with php?
User avatar
evilmonkey
Forum Regular
Posts: 823
Joined: Sun Oct 06, 2002 1:24 pm
Location: Toronto, Canada

Post by evilmonkey »

Why not just resize the picture, keeping the length to width ratio?
wizzard
Forum Commoner
Posts: 93
Joined: Thu May 16, 2002 5:36 am
Location: Belgium
Contact:

Post by wizzard »

My big problem is i have like 5 images in a row if some images are having a big with then it doesn't fit anymore.
Post Reply