Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'sips...if you have 10.3 or >' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
sips...if you have 10.3 or >
Authored by: Harry Fong on Apr 14, '04 01:12:07PM

there is something built into OS X 10.3 (or better) called sips. It does everything you could probably ever want to do to an image. You can also use the Image Events AppleScript abilities. Type sips -h for help on sips, or type sips -H for help on all the properties you can edit or modify with sips.



[ Reply to This | # ]
sips...if you have 10.3 or >
Authored by: foobar104 on Apr 14, '04 01:43:29PM

In particular, to do what you want to do here, do this:

sips -s copyright "Copyright 2004 whatever whatever" image.jpg



[ Reply to This | # ]
Do not use sips...
Authored by: mzs on Apr 14, '04 01:55:14PM
Read my post above to understand why. Basically the image is decoded/encoded and for JPEG this causes a loss in quality.

[ Reply to This | # ]
Do not use sips...
Authored by: Harry Fong on Apr 14, '04 08:02:17PM

Wow, I have very little experience with sips, I just got my first digi-cam and was reading up on diff. command line image features in OS X (Im a programmer and sys admin, I love to be able to script anything ;) ). I had no idea sips would cause a loss of quality. At first I found it hard to believe, but I wrote a simple ruby script to apply a different copyright to a specified image file 100 times. Indeed the end result was a file smaller in size, but my eye was not good enough to notice a huge quality loss. However, quality loss there was. Thank you for the heads up.



[ Reply to This | # ]