Assume I have a very, very height *.png picture with a height of e.g. 32000 pixels.
How can I crop the picture with ImageMagick command to a height of e.g. 9000 pixel ?
The width should remain as it is.
How to crop a *.png picture to height 9000pixel ?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: How to crop a *.png picture to height 9000pixel ?
You would use the "-crop" command. See http://www.imagemagick.org/script/comma ... s.php#crop . For example:
Code: Select all
convert in.png -crop x9000+0+0 +repage out.png
snibgo's IM pages: im.snibgo.com