Re: How to crop image toward right by pixels?

Anthony Thyssen <[email protected]> Wed, 6 Oct 2010 11:50:25 +1000
Newsgroups gmane.comp.video.image-magick.user
Message-ID <20101006115025.58807197@wraith>
On Tue, 5 Oct 2010 20:11:03 -0500
[email protected] wrote:
| Hi,
| 
| 
| convert.exe tif/tmp_Page_1.tiff -gravity East -crop 70%x100% tmp.tiff
| 
| The above command can correctly crop the right 70% of the image. But
| the following command always crops toward the left. Is this a bug?
| 
| convert.exe tif/tmp_Page_1.tiff -gravity East -crop 3000x3397 tmp.tiff
| 

-gravity has no bearing on 'tile cropping' though it effects percentage
crops in a special way.

You MUST add  +0+0  to second crop argument.  But really you should have
it on BOTH arguments.

Read IM examples,  Cutting and Bordering Images
  http://www.imagemagick.org/Usage/crop/



  Anthony Thyssen ( System Programmer )    <[email protected]>
 --------------------------------------------------------------------------
   ... and the smoking yet still impressive hole where the
    Alchemist's Guild had been up until yesterday.
                                     -- Terry Pratchett, "Soul Music"
 --------------------------------------------------------------------------
   Anthony's Castle     http://www.cit.griffith.edu.au/~anthony/