freeimage

Library for loading, saving, and manipulating multiple image formats

brewmacoslinux
Try with needOr install directly
Source

About

Library for FreeImage, a dependency-free graphics library

Examples

convert image from one format to another$ convert input.jpg output.png
resize image to specific dimensions$ convert input.jpg -resize 800x600 output.jpg
rotate image by degrees$ convert input.jpg -rotate 90 output.jpg
compress image file size$ convert input.jpg -quality 85 output.jpg
read image metadata and properties$ identify -verbose image.jpg