[magick-users] cropping
David Andel
david.andel at swissonline.ch
Tue Aug 21 15:20:00 PDT 2007
Hi all
I have got a problem with cropping out of images. Not that it wouldn't
work, but the size is somehow messed up afterwards.
david at apollo:~/tmp$ display -verbose logo_color.gif
logo_color.gif GIF 1251x168 1251x168+0+0 PseudoClass 64c 11kb
logo_color.gif GIF 1251x168 1251x168+0+0 PseudoClass 64c 11kb
After cropping I get:
david at apollo:~/tmp$ display -verbose logo_color_fi.gif
logo_color_fi.gif GIF 85x87 1251x168+9+9 PseudoClass 64c 1kb
logo_color_fi.gif GIF 85x87 1251x168+9+9 PseudoClass 64c 1kb
This is often rendered wrong (e.g. in web browsers), i.e. as if the true
size of the image was indeed 1251x168, and not 85x87 as shown by display.
I assume that what I need would be
logo_color_fi.gif GIF 85x87 85x87+0+0 PseudoClass 64c 1kb
How can I correct this?
Any hints will be appreciated,
David
More information about the Magick-users
mailing list