10.3: Create icon previews and more in the Terminal
Nov 24, '03 10:20:00AM • Contributed by: fxt
I've wanted to generate icon previews for image files from the command line for a long time, even though there are many fine applications avaliable for this task (pic2icon, Photoshop, Graphic Converter, IconDropper, and PathFinder to name but a few). However, Panther includes the "scriptable image processing system," which makes this task trivial:
% sips --addIcon imagefile(s)
Use
sips -h and
sips -H for help, and see Apple's page on the new
Image Events application
[
robg adds: This looks to be a very powerful tool, hidden away in the recesses of 10.3. I can see some nice uses for this with my digital camera pictures. Definitely read the
-h page for a brief look at everything it can do, and there's a bunch more info on the Apple page.]