sips
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.[1]
Documentation
- man 1 'sips' [EN]
Syntax
sips [PARAMETER ...] FILE [...] [--out FILE/DIR]
Parameters
- -s KEY VALUE, --setProperty KEY VALUE
- Set a property value for KEY to VALUE.
Example
- Convert RAW file to JPG
for file in *.ORF; do
sips --setProperty 'format' 'jpeg' "${file}" --out "${file/%ORF/jpg}"
done
References
- ↑ man 1 'sips'