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


Click here to return to the 'Search for comments in JPEG headers' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Search for comments in JPEG headers
Authored by: adrianm on Nov 27, '04 05:18:03AM
sips (already installed) will do much of what you'd need.

For example: sips -g all image.jpg will get all image properties. Can also get profile information. Run sips --help for more info.

sips, I believe, is the UNIX command-line version of AppleScript's image manipulation capabilities, and so much faster.

Of course, if you are not in a hurry, wait for Tiger, as Spotlight will do this for you :-)

[ Reply to This | # ]

Search for comments in JPEG headers
Authored by: adrianm on Nov 27, '04 05:27:29AM
As a comparison of sips to jhead, this is a sample output from sips:

~ % sips -g all DSC00404.JPG                                
/Users/adrian/DSC00404.JPG
  pixelWidth: 2048
  pixelHeight: 1536
  format: jpeg
  formatOptions: default
  dpiWidth: 72.000
  dpiHeight: 72.000
  samplesPerPixel: 3
  bitsPerSample: 8
  space: RGB
  profile: Camera RGB Profile
  creation: 2004:11:27 10:24:05
  make: SONY
  model: DSC-P52
  software: QuickTime 6.5.2
  description: jeep safari rest stop
  copyright: 2004
  artist: Adrian Milliner
Note that with sips, you can set most of these properties too.

[ Reply to This | # ]