How to Resize Images Using Terminal (Mac)

As a web developer and photographer, I often look for the most efficient methods to manage images. Terminal commands make life easy for me, especially when I need to manage files in bulk.

Here are a few super useful commands that I have found for resizing images using the terminal on a Mac.

Resize Images

sips -Z 300 file.png

Get Dimensions

file file.png

Get File Size

ls -lh file.png

Get Image Info

sips -g all file.png