Posted: 2006-08-05T16:40:02-07:00
I think I've found the solution to this problem.
After MagickCropImage add:
MagickSetImageExtent($mgck_wnd, $w, $h)
where $w,$h are the dimensions used in the crop.
The GIF header specifies a width and height of a logical screen on which the image(s) in the file will be displayed and this logical screen size isn't altered when you crop an image. Setting the imageextent forces it to change.
Best Wishes
Pete
After MagickCropImage add:
MagickSetImageExtent($mgck_wnd, $w, $h)
where $w,$h are the dimensions used in the crop.
The GIF header specifies a width and height of a logical screen on which the image(s) in the file will be displayed and this logical screen size isn't altered when you crop an image. Setting the imageextent forces it to change.
Best Wishes
Pete