imagemagick

Tools and libraries to manipulate images in various formats

brewmacoslinux
Try with needOr install directly
Source

About

Tools and libraries to manipulate images in select formats

Commands

convertidentifydisplaymogrifycompositemontageimport

Examples

Convert an image from one format to another$ convert input.jpg output.png
Resize an image to specific dimensions$ convert input.jpg -resize 800x600 output.jpg
Get detailed information about an image$ identify -verbose image.jpg