sips Command Examples

Apple Scriptable Image Processing System. Raster/Query images and ColorSync ICC Profiles. More information: https://keith.github.io/xcode-man-pages/sips.1.html.

sips --out {{path/to/out_dir}}

sips --resampleHeightWidth {{1920}} {{300}} {{image_file.ext}}

sips --resampleHeightWidthMax {{1920}} {{300}} {{image_file.ext}}

sips --resampleWidth {{960}} {{path/to/images}}

sips --matchTo "/System/Library/ColorSync/Profiles/Generic RGB Profile.icc" {{path/to/image.ext}} {{path/to/out_dir}}

sips --deleteProperty profile --deleteColorManagementProperties {{path/to/image_file.ext}}