Re: Not Cropping true to coordinates

See all posts Reply

Re: Not Cropping true to coordinates new!
by Marc, 12 years, 3 months ago
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
Re: Not Cropping true to coordinates new!
by colin, 12 years, 3 months ago
It does work as expected if you for instance use this parameter only:
$handle->image_crop = '100 20 20 200'; 
Reply