[magick-users] convert: crop gif - wrong dimensions

John Hauf j at hauf.org
Sun Oct 15 07:28:14 CDT 2006


Thank you for your help. It works now as expected. I did not recognize 
that "command line ordering" is so important in imagemagick since version 6.
BTW: your site "examples of ImageMagick Usage" is very helpful!

Thanks
John


Anthony Thyssen wrote:
> John Hauf on  wrote...
> | I read the IM Examples cropping page and tried with the "+repage" 
> | option: "convert -verbose -crop 250x300 06_001.jpg +repage 
> | tiles/K%05d.gif", but still got the problem the resulting tiles have the 
> | same dimension as the source-image.
> | So the repage-option changed anything. I tried both on linux 
> | (ImageMagick 6.2.5) and winxp (ImagMagick 6.2.3). Any further ideas?
> | 
> Looks like you also need to read up on command line ordering.
> YOur command will be using the legacy system from pre-version 6.
> 
> Try instead...
> 
>    convert 06_001.jpg -crop 250x300 +repage tiles/K%05d.gif
> 
> And to check what is being produced you can use
> 
>    convert 06_001.jpg -crop 250x300 +repage info:
> 
> The info: outputs a single line 'identify' for each image generated
> but not images are saved.   To do BOTH use...
> 
>    convert 06_001.jpg -crop 250x300 +repage -identify tiles/K%05d.gif
> 
>   Anthony Thyssen ( System Programmer )    <A.Thyssen at griffith.edu.au>
>  -----------------------------------------------------------------------------
>    The Macintosh Principle :-
>                Build a system that even a fool can use,
>                  and only a fool will want to use it.
>  -----------------------------------------------------------------------------
>      Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
> 
> 


More information about the Magick-users mailing list