Inert Ramblings

Everything worth saying has already been said…

Inert Ramblings
November 25, 2003 by Sciri

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

Posted in Simulacrum. RSS 2.0 feed.
« Grass Cowboy – Music to tip cows by
Happy turkey day! »

0 Responses to Scriptable Image Processing System

  1. MacMike says:
    December 3, 2007 at 4:43 PM

    Thats so cool, thank you for posting this!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

*

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Categories

Archives

Blogroll

  • Development Blog
  • Documentation
  • Plugins
  • Suggest Ideas
  • Support Forum
  • Themes
  • WordPress Planet

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Pages

  • About Inert Ramblings

All content © 2012 by Inert Ramblings. WordPress Themes by Graph Paper Press