class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
I am trying to crop an image that is 300w x 220h and am using image_crop = '100 20 20 200' and expected to get a cropped image 100 high by 80 wide but it keeps giving me an image that is not cropped from the top. In other words I get an image 200 high x 80 wide. Strangely, if I try to crop an image in the top half of the original image it returns an image true to the coordinates. It only seems to have a problem when I try to crop anything in the lower half of the original image. I am using the class file out of the box with no changes so it seems strange that I am getting this result. Any ideas?Reply
I am using the class file out of the box with no changes so it seems strange that I am getting this result. Any ideas?