On Tue, 18 May 2004, Vic Norton wrote:
> This sips application sounds interesting. Where do you get it? I'm
> running OS X 10.3.3, but "man sips" produces nothing.
If you have OSX 10.3.3, you already have sips:
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.3.3
BuildVersion: 7F44
$ which sips
/usr/bin/sips
$ sips --help
sips 1.0 - scriptable image processing system.
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.
Usages:
sips [-h, --help]
sips [-H, --helpProperties]
sips [image query functions] imagefile(s)
sips [profile query functions] profile(s)
sips [image modification functions] imagefile(s)
[--out outimage | --out outdir]
sips [profile modification functions] profile(s)
[--out outprofile | --out outdir]
Profile query functions:
-g, --getProperty key
-X, --extractTag tag tagFile
-v, --verify
Image query functions:
-g, --getProperty key
-x, --extractProfile profile
Profile modification functions:
-s, --setProperty key value
-d, --deleteProperty key
--deleteTag tag
--copyTag srcTag dstTag
--loadTag tag tagFile
--repair
Image modification functions:
-s, --setProperty key value
-d, --deleteProperty key
-e, --embedProfile profile
-E, --embedProfileIfNone profile
-m, --matchTo profile
-M, --matchToWithIntent profile intent
-r, --rotate degreesCW
-f, --flip horizontal|vertical
-c, --cropToHeightWidth pixelsH pixelsW
-p, --padToHeightWidth pixelsH pixelsW
-z, --resampleHeightWidth pixelsH pixelsW
--resampleWidth pixelsW
--resampleHeight pixelsH
-Z, --resampleHeightWidthMax pixelsWH
-i, --addIcon
As you say, there doesn't seem to be a man page, but then the person who
first suggested it did say it wasn't very well documented. In any case,
the help page is a decent start...
--
Chris Devers