Page 1 of 1

Is this possible?

Posted: Thu Feb 17, 2011 1:49 am
by robertbarzyk
Say i have an image which is 500px by 100px.

Could i have php crop the image from left to right from pixels 1px-100px, 101px-200px, 201px-300px, 301px-400px, 401px-500px

and output the cropped photos?

im decent with php but never worked with images in php. please help

Re: Is this possible?

Posted: Thu Feb 17, 2011 3:52 am
by Darhazer
It is possible, you have to take a look at GD functions
http://php.net/manual/en/function.imagecopy.php