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


Click here to return to the 'The non-hacking solution' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
The non-hacking solution
Authored by: sv1cec on Feb 08, '10 05:07:16AM

For some reason, the modification shown above (changing the Raw.plist file and the RawCamera file) didn't work for me. So I did some searching and some experimenting, and I think I came up with a more "viable" solution, to force Mac to recognize and support my non-supported camera.

Let's define the parameters:

I own a Canon PowerShot S90 camera (and several Nikons) and I am using an iMac and a MacBook, running Aperture, to manage my pictures, edit and file them. In the Nikon world, I always shoot raw (NEF), so I wanted to do the same with my S90. Unfortunately, the S90 is NOT supported by Apple. There is however, one camera that has the same censor as the S90, which is supported by Mac OS-X, it is the Canon PowerShot G11. From what I read on the Internet, the raw files had to be the same since those cameras are using exactly the same censor. So here is what I came up with.

Mac checks a "tag" inside the CR2 raw file to figure out what camera a picture is shot with. That tag is called CanonModelID, and that's the only tag that needs to be changed, to allow Mac to understand and use the pictures you shoot with the S90. All you have to do, is change that tag in your CR2 raw image files, to something that your RawCamera already supports, in this particular case, I changed the tag to show "PowerShot G11" instead of "PowerShot S90". The reason for selecting this particular camera (the G11), in my efforts to trick Mac OS-X to recognize the S90 raw images, is because the G11 and the S90 share the same censor (as stated above), so the image information would be interpreted correctly by any program in the Mac.

To change the tag, I used a program called ExifTool, written by Phil Harvey and which you can google to download. ExifTool is a command-line tool (meaning there is no GUI user interface) and that's a good thing, because as a command-line program, it supports all Unix wild characters. That means that you can convert all your S90 images, with one single command.

The procedure I came up with, is this:

I first copy all my .CR2 files, from the S90 memory card to a temporary directory. So I end up with a group of .CR2 files in there. Then I open a terminal window and move into that directory, where I issue the following command:

exiftool -canonmodelid='PowerShot G11' *.CR2

What that command does is:

- it copies all original .CR2 files to .CR2_original files (so your initial files are preserved).
- it then patches a copy of each original file, replacing the "canonmodelid" tag (which was "PowerShot S90" before) with the string "PowerShot G11".

So you end up with two set of files, one with extension .CR2 and another with extension .CR2_original. The .CR2 files are now perfectly readable by Mac applications, such as the Finder, Aperture, Xee etc.

All I have to do now, is to move the .CR2 files in my standard Master files directory structure and import them in Aperture. The funny thing is that Aperture still reports that the camera model is "Canon PowerShot S90". And of course, you can also save the .CR2_original files if you so want, so you can use them when Apple decides to support the S90.

I hope this trick helps other S90 and Aperture users, until Apple gets its act together and releases a new Raw Camera Compatibility package.



[ Reply to This | # ]
The non-hacking solution
Authored by: pediger on Feb 08, '10 01:47:01PM

Works! Very cool. Thanks. I'm new to both RAW and the S90, so I'm still wading through how to best to work with its RAW files.

A few notes:
- I get similar, though not identical, results from Adobe DNG Converter, Lightroom (3 Beta), and changing the tag to PowerShot G11
- All of the above methods differ from the results I get from Canon's DPP tool, sometimes dramatically. I understand it may be futile to try to duplicate DPP's rendering elsewhere, but DPP sometimes produces results by default that I prefer.
- exiftool (v8.08, so slightly older) is available from MacPorts: sudo port install p5-image-exiftool
- exiftool -s <filename> lists all of the exif tags in their shortened format, e.g., CanonModelID vs. Canon Model ID.
- There are two tags that identify the camera: CanonModelID and Model (or Camera Model Name). The second is apparently what is displayed by most tools when viewing exif data. The first must be what Apple uses to support RAW.

Cheers



[ Reply to This | # ]
The non-hacking solution
Authored by: sv1cec on Feb 14, '10 07:23:42AM

Well, my procedure seems to be useless now that Apple announced Aperture 3 and posted the new Digital Camera Support (DCS) package, which supports the Canon S90 raw.

However I noticed one issue with the latest DCS, which is probably due to distortion correction applied. Have a look at the two images below.

http://img.photobucket.com/albums/v323/sv1cec/posts_pictures/2Resized.jpg

http://img.photobucket.com/albums/v323/sv1cec/posts_pictures/1Resized.jpg

The first is produced with the procedure outlined above, while the second is from the same image shown with Xee. As you can see the second image is cropped on all four sides.

Also, I discovered that my procedure introduces a "hot pixel" in the CR2 files treated.

http://img.photobucket.com/albums/v323/sv1cec/posts_pictures/IMG_0333_pixel.jpg

Can you please tell me if you can see that pixel too?



[ Reply to This | # ]
The non-hacking solution
Authored by: adampretty on Feb 25, '10 07:50:11PM

Hi there, I have a pretty similar dilemma but it has not been solved by updates etc. I am using a Sinar eMotion 75lv digital back which produces raw .STI files, I can convert them to dng using a program called brumbaer eMotion dng, but then these dng files are not recognised by aperture 3 either... they work (the converted dng) in both bridge and camera raw. Do you think you will be able to somehow trick Aperture 3 or the system into thinking these DNG files are a form of DNG that aperture 3 recognises? because as far as I know the brumbaer software is the only option to convert STI files. It is so frustrating as I am trying to archive all of my images using Aperture and so far am having no luck. Thanks for your help!



[ Reply to This | # ]