how to "shave" a group of graphics

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Arlene

how to "shave" a group of graphics

Post by Arlene »

I have a bunch of jpgs, tifs and gifs that all need to be 250x350 pixels. I am coding in a dos command line on a windows 2000 server. I am using -scale 250x to get the correct width so how do I arbitrary put a value in the shave command to cut the bottom of the graphic off after it reaches 350 pixels?
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Post by Bonzo »

I would use -crop : http://www.imagemagick.org/script/comma ... s.php#crop

Code: Select all

-crop 250x350 +0+0
Untested code :?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

remove the space between the numbers
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply