is there any lightweight command line batch image cropping tool(Linux or Windows) which can handle a variety of the formats ?
is there any lightweight command line batch image cropping tool(Linux or Windows) which can handle a variety of the formats ?
macOS has sips image processing tool integrated. Cropping functions available are:
-c, --cropToHeightWidth pixelsH pixelsW
--cropOffset offsetY offsetH
Easy with sips: just set the offset to start the cropping:
sips --cropOffset 1 1 -c <height> <width> -o output.png input.png