graphicsmagick

Collection of tools and libraries for image processing and manipulation

brewmacoslinux
Try with needOr install directly
Source

About

Image processing tools collection

Commands

gm

Examples

Convert an image from one format to another$ gm convert input.jpg output.png
Resize an image to specific dimensions$ gm convert input.jpg -resize 800x600 output.jpg
Create a thumbnail with quality adjustment$ gm convert input.jpg -thumbnail 100x100 -quality 85 thumb.jpg