All apps/sips

sips

sips

Scriptable image processing system built into macOS.

Runs as sips|macOS, Linux, Windows

Command form

ai-draft · 3 tasks · 9 fields

Resize, rotate, flip, convert or inspect images in place or into a new file. Profile and tag editing is not included. Note that sips modifies the input file unless an output path is given (the output option is not in the completion data, so edit a copy).

Opens the form; the finished command lands at your prompt, unrun
otty gui sips
Process imageExample values, fixed in this page — nothing here reaches a terminal
Basic
Image files*
file
Fit within size (px)*
integer
TasksEach one presets the form for one job
Fit image within size
filesmax_size
Show image size
filesget
List formats
formats
ParametersOnly these flags are editable in the form
Image files
Image files to read or modify.
path · positional 0 · repeatable
Get property
Print a property such as pixelWidth or format.
string
--getProperty-galldpiHeightdpiWidthpixelHeightpixelWidthtypeIdentifierformatspacesamplesPerPixelbitsPerSamplecreationmake
Rotate (degrees clockwise)
string
--rotate-r
Flip axis
enum
--flip-fhorizontalvertical
Resample to width (px)
Keeps aspect ratio.
integer
--resampleWidth
Resample to height (px)
Keeps aspect ratio.
integer
--resampleHeight
Fit within size (px)
Longest side will not exceed this size.
integer
-Z--resampleHeightWidthMax
List supported formats
boolean
--formats
Debug output
boolean
--debug
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed sips against its version. A form that does not match your version is not offered.