
sips - scriptable image processing system.
This tool is used to query or modify raster image files and ColorSync ICC profiles.
Its functionality can also be used through the "Image Events" AppleScript suite.
To reduce JPEG quality (e.g., to 70%):
sips -s formatOptions 70 input.jpg
To resize the image (maintaining aspect ratio, max dimension 1024px):
sips -Z 1024 input.jpg
