‘Rents in SF


The parents came to visit us in SF for a change (usually we fly to see them); we took them to Golden Gate Park, Land’s End, the V.A. Medical Center, and Ocean Beach.

[photo]

I did notice two quirks of Mac behavior that were inferior to my former Windows digital-photo workflow:

  • The Canon PowerShot SD800IS provides the proper EXIF orientation information in its photos, but the embedded thumbnails are incorrect (or at least, the Mac Finder gets it wrong and shows all thumbnails in landscape orientation).
  • When importing photos from the camera, iPhoto generates filesystem timestamps using the time of import rather than with the time the photo was taken (the SD card filesystem timestamp of the image is not preserved).

I discovered the joy that is jhead, conveniently available as a MacPort:

  • Fix thumbnail orientation: jhead -autorot *
  • Fix filesystem timestamps to match EXIF information: jhead -ft *

jhead isn’t truly nerdcore: instead of linking with the jpegtran library, it assumes a pre-existing installation of the jpegtran programs and just calls system(3). Kind of lame, but whatever; it gets the job done.

  1. #1 by infobhan on Mon Dec 31, 2007 - 6:15 am

    Sounds like there’s something messed up with your setup. iPhoto does the proper date for me. The Finder also shows the proper orientation for my images. A quick google search did not turn up much in the way of similar problems. It may be worth posting on the Apple support pages.

    Unless I’m misinterpreting what you are saying and your looking at the Finder creation date, which is probably the date of import.

  2. #2 by Rob on Mon Dec 31, 2007 - 11:19 am

    Unless I’m misinterpreting what you are saying and your looking at the Finder creation date, which is probably the date of import.

    Your second interpretation is correct.

    iPhoto correctly reports the EXIF time, but it updates the Finder timestamps to be the time of import rather than preserving the timestamps from the camera storage card.

  3. #3 by infobhan on Mon Dec 31, 2007 - 11:47 am

    Ah…I guess I rarely export my images so it’s not an issue for me. Sounds like you’ve got a solution, but I’ve heard good things about PhotoToolCM at http://www.pixture.com/software/macosx.php. Not sure if it works with Leopard as it’s been a while.

(will not be published)