CmdID

CmdID / Commands

sips

Apple Scriptable Image Processing System. tldr-pages

On macOS

Opens CmdID with your command. It is read in your browser and sent nowhere.

Apple Scriptable Image Processing System. Raster/Query images and ColorSync ICC Profiles.

Specify an output directory so that originals do not get modified

sips --out path/to/output_directoryIdentify

Resample image at specified size, Image aspect ratio may be altered

sips --resampleHeightWidth 1920 300 image_file.extIdentify

Resample image so height and width aren't greater than specified size (notice the capital Z)

sips --resampleHeightWidthMax 1920 300 image_file.extIdentify

Resample all images in a directory to fit a width of 960px (honoring aspect ratio)

sips --resampleWidth 960 path/to/imagesIdentify

Convert an image from CMYK to RGB

sips --matchTo "/System/Library/ColorSync/Profiles/Generic RGB Profile.icc" path/to/image.ext --out path/to/output_directoryIdentify

Remove ColorSync ICC profile from an image

sips --deleteProperty profile --deleteColorManagementProperties path/to/image_file.extIdentify