Scriptable Image Processing System
For the past few weeks I’ve been on a mission for a co-worker - find a utility to embed ColorSync ICC profiles into a JPEG without opening and re-saving it using Photoshop or another imaging tool. It turns out that Panther already has this functionality built into a low-level command line tool called sips. Many thanks to fxt for digging this one up!
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
1 Comment »
Leave a comment
About Inert Ramblings
I’m too lame to update this page but just cool enough to remove the default text.
-
Recent
- Totally unsupported Ubuntu 8.04 (Hardy Heron) installer for ServerBeach RapidRescue
- Creating DOS floppies and USB thumbdrives for BIOS flashing
- Test post, ignore. Blargh.
- links for 2007-03-07
- links for 2007-02-28
- Elementary school seeks Digg’s help to collect postcards from around the US
- links for 2007-02-20
- links for 2007-01-30
- links for 2007-01-28
- links for 2007-01-27
- links for 2007-01-26
- links for 2007-01-25
-
Links
-
Archives
- July 2008 (2)
- May 2008 (1)
- March 2007 (1)
- February 2007 (3)
- January 2007 (17)
- December 2006 (9)
- November 2006 (3)
- October 2006 (5)
- September 2006 (2)
- August 2006 (1)
- July 2006 (2)
- June 2006 (1)
-
Categories
-
RSS
Entries RSS
Comments RSS
Thats so cool, thank you for posting this!
Comment by MacMike | December 3, 2007