Files
oam/knowledge base/mac os x/sips.md
2023-07-18 07:11:46 +02:00

975 B

The Scriptable Image Processing System (SIPS)

Command-line tool shipped by default with Mac OS X which allows basic image manipulation.
Think ImageMagick, but not as powerful.

Used to query or modify raster image files (JPG/GIF/PNG) and ColorSync ICC profiles.
Image processing options include flip, rotate, and change image format/width/height.

Its functionality can be used through the "Image Events" AppleScript suite, and supports executing JavaScript to either modify or generate images.

Table of contents

  1. TL;DR
  2. Further readings

TL;DR

# Retain ratio.
# Save as different file.
sips -Z '1000' -o 'resized.jpg' 'IMG_20190527_013903.jpg'

Further readings