Saturday, 9 May 2020

How to crop images in a batch, imagemagick, convert?

convert -crop WxH+x+y ./*.png ./tmp/new%02d.jpg

Example:
convert -crop 3192x1652+3+42 ./*.png ./tmp/new%02d.jpg

No comments:

Post a Comment