SIPS (Scriptable Image Processing System) is a command-line utility available on macOS that enables users to perform various image manipulation tasks directly from the command line. It supports a wide range of image file formats, including JPEG, PNG, TIFF, GIF, and more
- Scale an image (without aspect ratio):
sips -z width height input_image --out output_image - Scale an image (maintain aspect ratio):
sips -z 800 0 original.jpg --out scaled.jpg - Query image properties:
sips -g dpiHeight -g dpiWidth image.jpg