Aperture 2 AppleScript – Reimport as DNG v3
Posted on February 24th, 2008 in Aperture Automation, AppleScript
Updated script
Requires Aperture 2
Probably requires Mac OS X 10.5.2
Requires Aperture 2
Probably requires Mac OS X 10.5.2
One of the many cool new features of Aperture 2 is support for DNG masters from just about any camera. My venerable old Canon PowerShot S50 has never been supported by Mac OS X’s RAW engine, but now I can use the images in Aperture without resorting to hacking any parts of the OS.
This script is easy- it just exports the master RAW, converts it to DNG and imports the DNG into the Aperture Library. The DNG will be imported into the Library as a managed file. You can relocate the DNG later if you’d like.
Update: version 3 will copy IPTC and custom tags from original masters to the new DNG masters.
Download and enjoy!
Tags:

This post has one comment
March 5th, 2008
You can easily trick iPhoto and Aperture 2 into reading RAW i.e. CRW files created by a Canon S50.
All you need to do is change the camera identification string inside the CRW file that says the file was created by an S50 to a string that says it was created by an S60.
The following perl program does the trick:
perl -pi.orig -e ‘s/Canon PowerShot S50/Canon PowerShot S60/g’ *.CRW
The above assumes your file names end with the suffix .CRW. If not, you’ll have to change it. In order to use the above, you’ll need to open up Terminal.app, cd to the appropriate directory, paste the text above at the prompt, and hit the return key. The above actually creates a backup of the original files before modifying them. However, I highly recommend you back your files up by some other means before trying this.
Good luck.