David Andel on wrote...
| 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.
|
| [EMAIL PROTECTED]:~/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:
|
| [EMAIL PROTECTED]:~/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?
|
Read IM Examples, Cutting and Bordering...
http://www.imagemagick.org/Usage/crop/
Specifically..
=======8<--------
GIF images make active use of the 'page' or 'virtual canvas', size and
offset information in images cropped by IM. If you don't want this
information remove it with "+repage" immediatally after the "-crop".
=======8<--------
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
Hmm.. Thursday TV viewing...
Golf Channel 2
Sports Channel 9
Footy Channel 10
Arrrrhhhhhh (Present the Sign of the Protection against evil!)
-- Anthony Thyssen
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users