Command line batch image cropping tool
问题 is there any lightweight command line batch image cropping tool(Linux or Windows) which can handle a variety of the formats ? 回答1: Imagemagick is what you want -- tried and true. 回答2: In Linux you can use mogrify -crop {Width}x{Height}+{X}+{Y} +repage image.png for CLI image manipulation 回答3: Imagemagick's convert does the trick for me (and much more than cropping): convert -crop +100+10 in.jpg out.jpg crops 100 pixels off the left border, 10 pixels from the top. convert -crop -100+0 in.jpg