simple-sips
Image manipulation with scriptable image processing system.
From the sips manpage:
This tool is used to query or modify raster image files and ColorSync ICC profiles.
usage
const sips =
api
sips(config)
Returns a Promise. config
is an object which expects the keys: source
, destination
and options
.
source
- original image path
destination
- output path
options
- object with sips options
options object examples
image query functions
getProperty: `pixelHeight` `pixelWidth`
image modification functions
setProperty: description: 'A hotel' copyright: 'Lynyrd'