Hi,
There is no support as yet for reading RAW files from the new Canon PowerShot S95 camera. I read in a forum that perhaps Lightroom could be fooled into thinking that the picture was shot with the S90 (which is supported)
I have the latest Exiftool installed on my Mac but am a little confused by what to put in the command line in order to change the camera model in the RAW header.
I see in the Tags Canon CanonModelID Values both cameras are listed:
0x2720000 = PowerShot S90
0x2950000 = PowerShot S95
Any help gratefully received.
Thanks in advance.
The command line would be:
exiftool -model="Canon PowerShot S90" -canonmodelID="PowerShot S90" FILE
- Phil
Phil - you are are pure genius!
It works!
I had tried going into the RAW file with a Hex editor and changing S95 to S90 but that didn't work.
Now I even see the thumbnail of the file on my Mac desktop as soon as I execute the exiftool command.
Sorry, one more question: to execute the command in batch mode on a folder?
Many thanks.
Best wishes.
You can use folder names and/or file names on the command line. With folder names, exiftool will process all writable files in the folder. If you have other file types and want to just process CR2 images, add -ext cr2 to the command. ie)
exiftool -ext cr2 -model="Canon PowerShot S90" -canonmodelID="PowerShot S90" DIR ...
- Phil
Hi Phil,
Found this today, installed ExifTool, and had great success with running it and making new copies of S95 RAW files for Lightroom.
One issue I'm having however is that some of the new CR2 files have a black line either on top or on the left of the image.
Could this be an image shift, or perhaps some sort of corruption in the new file?
Importing as a CR2 and/or converting to a DNG produces the same problem.
See here: http://skitch.com/albo/d2au2/lightroom
(http://img.skitch.com/20100927-rwa7dxftmhjb73ibrkd8p1afra.jpg)
Any thoughts on this?
Thanks,
Albo
Phil-
I'm having trouble with the command line you provided
exiftool -model="Canon PowerShot S90" -canonmodelID="PowerShot S90" FILE
I have a Canon S95 raw file and would like to change the canon model ID data to PowerShot S90 so I can open in Photoshop. My filename is IMG_0013.CR2 and it is located on my desktop.
What is the correct command line to change the canon model for this file?
Cheers!
Hi Albo,
Quote from: Albo75 on September 27, 2010, 06:19:43 PM
One issue I'm having however is that some of the new CR2 files have a black line either on top or on the left of the image.
The black line moves around? I could see the black mask may be different on an S95 sensor, but that could only explain a black line that was the same in all pictures.
- Phil
Quote from: stephsarz on September 28, 2010, 12:01:33 AM
I'm having trouble with the command line you provided
exiftool -model="Canon PowerShot S90" -canonmodelID="PowerShot S90" FILE
Did you replace
FILE in the command with the actual name of the image file?
Also, more details would be useful. What messages did you get?
- Phil
Quote from: Phil Harvey on September 28, 2010, 07:13:51 AM
The black line moves around? I could see the black mask may be different on an S95 sensor, but that could only explain a black line that was the same in all pictures.
Portrait images have the line at the top, landscape at the left. It seems completely random though.
24 of 122 images I shot yesterday have the black line.
Phil,
Thanks for the quick response.
Here is what I enter into the command line:
exiftool -model="Canon PowerShot S90" -canonmodelID="PowerShot S90" IMG_0013.CR2
This is the message:
Error: File not found - IMG_0013.CR2
0 image files updated
1 files weren't updated due to errors
The image is a raw file from the Canon S95, it is located on my desktop and I am running OS 10.6.4.
Thanks!
Quote from: Albo75 on September 28, 2010, 09:45:44 AM
Portrait images have the line at the top, landscape at the left.
So the black bar at least doesn't move relative to the sensor.
Quote
24 of 122 images I shot yesterday have the black line.
This is the curious part. What happens if you convert the original images using Canon's DPP software?
- Phil
Quote from: stephsarz on September 28, 2010, 10:03:30 AM
This is the message:
Error: File not found - IMG_0013.CR2
0 image files updated
1 files weren't updated due to errors
Ah, OK. Type
~/Desktop/IMG_0013.CR2 so ExifTool can find the image on the desktop. The tilde (
~) is a convenient shortcut which represents your home directory in case you are wondering.
Also, in OS X you can drag and drop the file into the terminal window instead of typing the filename. This is a neat trick that you may find useful.
- Phil
Brilliant!
Quote from: Phil Harvey on September 28, 2010, 11:00:46 AM
This is the curious part. What happens if you convert the original images using Canon's DPP software?
Took three shots just now and converted with Canon software to jpg. All three came out fine.
Ran ExifTool and then imported to LR and converted to DNG. The second image has the black on the left.
Matching the Canon jpg to the DNG I get this*
*Top image is the DNG with 1 pixel black edge to show shift. It doesn't even line up vertically, I had to nudge it down a couple pixels.
(http://img.skitch.com/20100928-xe66dbuian9xwsp71i4mx8s8km.jpg)
Quote from: Albo75 on September 28, 2010, 05:53:48 PM
Took three shots just now and converted with Canon software to jpg. All three came out fine.
Great. Now we have a good starting point.
Quote
Ran ExifTool and then imported to LR and converted to DNG. The second image has the black on the left.
Do you get the same thing when importing this image into DPP? If so, does the black go away if you use exiftool again to change the model values back to S90 and import this double-edited image into DPP? There are a few possible outcomes:
1) black bars show up on the edited image in DPP but go away when the model is changed back to S90
--> indicates that there is some real difference between the S90 and S95 images causing the black bar
2) black bars don't show up in either image
--> indicates that the Lightroom CR2 reader isn't very robust
3) black bars show up on both images
--> indicates that ExifTool is causing the problem. If this is the case, I want to know.
I tried some tests here, but I only have one S95 CR2 and it didn't give a black bar when I changed the model to S90 and imported into LR2.
- Phil
So...
Canon RAW to DPP to jpg = no bar
Canon RAW to ExifTool to DPP to jpg = no bar
Canon RAW to ExifTool to ExifTool to DPP to jpg = no bar
Canon RAW to ExifTool to LR = bar
Canon RAW to ExifTool to LR to DNG = bar
Canon RAW to ExifTool to PS Camera RAW = bar
... which means #2: that the Lightroom/Photoshop CR2 reader isn't very robust? ???
Quote from: Albo75 on September 29, 2010, 05:09:12 PM
... which means #2: that the Lightroom/Photoshop CR2 reader isn't very robust? ???
Yes, it would seem that way. It looks like your only hope to get this working with the Adobe products is to wait for an update for the S95. All of the Adobe products use the same converter.
- Phil
I'd just like to chime in because I've been playing with ExifTool today trying to get my S95 raws working with Adobe Lightroom. I am happy to say I got it working though I did have some black bars in some cases. Here's what I did:
I ran ExifTools with the following command:
exiftool -canonmodelID="PowerShot S90" /Volumes/MBP_BACKUP/S95_Files/cr2 -ext cr2MBP_BACKUP is just my external firewire drive. I only changed the canonmodelID and not the model tag. I first tried using Adobe's DNG converter on the new CR2 files, but when I imported the converted DNG files into Lightroom 3, I got the black bars. I decided to delete the DNG files and import the new CR2 files into Lightroom and have that convert them to DNG files. This worked. I exported a quick JPG from one of the new DNG files and there were no black bars. Out of curiosity, I opened one of the Lightroom converted DNG files with Photoshop CS3 (yes, I need to upgrade) and surprisingly, Adobe Camera Raw was showing the black bar.
My theory is that my version of ACR, which Photoshop uses to open raw files, is too old and is misreading the DNG file somehow. I have Camera Raw 6.2 running in Lightroom 3, but Photoshop CS3 can't upgrade to ACR 6. That is my guess. Hope this is relevant info.
Quote from: Phil Harvey on September 28, 2010, 07:19:17 PM
Quote from: Albo75 on September 28, 2010, 05:53:48 PM
Took three shots just now and converted with Canon software to jpg. All three came out fine.
Great. Now we have a good starting point.
Quote
Ran ExifTool and then imported to LR and converted to DNG. The second image has the black on the left.
Do you get the same thing when importing this image into DPP? If so, does the black go away if you use exiftool again to change the model values back to S90 and import this double-edited image into DPP? There are a few possible outcomes:
1) black bars show up on the edited image in DPP but go away when the model is changed back to S90
--> indicates that there is some real difference between the S90 and S95 images causing the black bar
2) black bars don't show up in either image
--> indicates that the Lightroom CR2 reader isn't very robust
3) black bars show up on both images
--> indicates that ExifTool is causing the problem. If this is the case, I want to know.
I tried some tests here, but I only have one S95 CR2 and it didn't give a black bar when I changed the model to S90 and imported into LR2.
- Phil
Not the same for me. I get random black edges no matter which way I import.
I appreciate all your help Phil!
Quote from: Phil Harvey on September 02, 2010, 07:07:47 AM
The command line would be:
exiftool -model="Canon PowerShot S90" -canonmodelID="PowerShot S90" FILE
As JavaJunky says, it's not necessary to set model, you can just set canonmodelID. That way, Adobe will edit the picture as if it were an S90, but list the camera as an S95 for searching, etc. purposes. I'm confident enough in the results to add -overwrite_original.
The black bar can easily be cropped out. Other than the black bar, pictures seem to work fine in Photoshop CS5 and Lightroom 3. With luck Adobe will release an update sometime soon.
Phil, thanks for a fantastic program!
Forgive me, Im a beginner with a really stupid question. I installed exiftool onto my desktop. After I drop a picture into the program the exif data shows up but it closes after I press a key. How do I go into the command to change the camera model name?
Sorry for the late response, I missed this post somehow.
Quote from: dtour on October 26, 2010, 07:22:11 PM
I installed exiftool onto my desktop. After I drop a picture into the program the exif data shows up but it closes after I press a key. How do I go into the command to change the camera model name?
If you rename the program to "exiftool(-k).exe" it will pause before quitting. (This is the function of the -k option). To change the camera model name, it is best to run from the command line. Install exiftool for command-line use (see the install instructions) then open a cmd window (choose "Run..." from the Startup menu, then type "cmd" and press OK). At this point you can start typing the commands indicated in this thread.
- Phil
In case you haven't seen it, Adobe now has release candidates for LR and PS CS5 that will process S95 raw files. Final versions are expected in a few weeks.
http://labs.adobe.com/downloads/lightroom3-3.html
http://labs.adobe.com/technologies/cameraraw6-3/
Hi Phil
I'm trying todo a similar thing with a Canon G12, and fooling Lightroom 2 in to thinking it is a G11 so it will import CR2 files for editing.
I'm using OS X 10.6.6 and I'm new to using Terminal - so I'm opening Terminal and typing 'Exiftool' to open Exiftool. I'm then selecting the 'New Command' menu option and typing this in
exiftool -model="Canon PowerShot G11" -canonmodelID="PowerShot G11" Desktop/IMG_0396.CR2
(The image file is on my desktop, and is called IMG_0396.CR2)
When I press 'Run' I get this message
Warning: Can't convert Canon:CanonModelID (not in PrintConv)
Error: File not found - PowerShot
Error: File not found - G11"
Error: File not found - G11"
1 image files updated
3 files weren't updated due to errors
[Process completed]
Any ideas please?? Many thanks
Hi,
I don't know OS X, but maybe you should use single quotes instead of doublequote...? As far I recall, doublequotes should be used on Windows (only).
Just an idea ;)
Bogdan
Thanks for the idea
The command line was cut and pasted directly from Phils suggested command line at the beginning of this thread though, the "'s were in his original. All I did was replace the words 'Canon Powershot S90' in his line with 'Canon Powershot G11'...
You have to be careful cutting and pasting because often web pages and documentation translate ASCII characters to other UTF-8 equivalents.
Type the command using either a standard single or double quote and it should work.
- Phil
Thanks Phil - I'll give that a try.
Couple of questions for you -
1) Does the spaces in the command line matter - on the examples you've put up (eg: exiftool -model="Canon PowerShot S90" -canonmodelID="PowerShot S90" FILE) there appear to be spaces between some of the words and not others.
2) Do I enter the camera I want it to change TO (i.e the G11) or the camera I want it to change FROM (i.e the G12)? Do I have to enter a specific title for the camera name - eg Canon Powershot G**?
Thanks again
Hi Phil
No luck I'm afraid
I typed manually this line - exiftool -ext cr2 -model='Canon Powershot G11' -canonmodelID='Powershot G11'/Users/Olly/Desktop/IMG_0396.CR2
(I dragged the file in to the command line to automatically get the /Users/Olly/Desktop/IMG_0396.CR2 part)
and it came up with the message
Warning: Can't convert Canon:CanonModelID (not in PrintConv)
Error: File not found - Powershot
Error: File not found - G11"
Error: File not found - G11"
Error: File not found - /Desktop/IMG_0396.CR2
0 image files updated
4 files weren't updated due to errors
[Process completed]
Any ideas at all please?
Your command works fine for me on OS X 10.6.6 after I add a space before the file name (even with cutting and pasting).
But re-reading your original post, I don't understand what you are doing.
Just do this:
1) Open the Terminal application.
2) In the window that appears, type:
exiftool -ext cr2 -model='Canon Powershot G11' -canonmodelID='Powershot G11' /Users/Olly/Desktop/IMG_0396.CR2
This should work.
- Phil
(Note that the -ext cr2 is redundant in this case because the command specifies only a single .CR2 file.)
Thanks Phil - that's brilliant, works perfectly.
(I was opening Terminal, typing exiftool to open the exif application then trying to run the command in a new command window)
FWIW I also get the black bar on the left side of the image that has been referred to in previous posts on this thread, but I can live with that rather than messing around with DNG conversions etc - what are these camera manufacturers playing at with all these different RAW formats??
One last question for you - when I run the command, the original G12 RAW file becomes visible as a thumbnail, and another file is created called 'IMG_0396-2.CR2_original'
Is this of any importance at all or can I just delete it once the original file is converted?
Cheers Phil
Hi Phil
Sorry, one last question for you -
Is there a limit to how many subfolders a CR2 file can be in to be converted using Exiftool? I can get things to work perfectly if the files are on my desktop, or if they are within a file on my desktop, but I would like to keep a folder within 'My Pictures' specifically for the CR2 files I wish to convert, to help keep them organised.
This file is located here /Users/Olly/Pictures/My Photography/Imports/Exiftool Imports
However when I use that location within the command line
exiftool -ext cr2 -canonmodelID="PowerShot G11" ~/Pictures/My Photography/Imports/Exiftool Imports/
it comes up with the following message
File not found: /Users/Olly/Pictures/My
File not found: Photography/Imports/Exiftool
File not found: Imports
Is this because the folder with the files is too many 'layers' down?
Thanks again
I wouldn't suggest deleting the _original file unless you already have backups. Make sure you keep the originals because you will want to use them if you ever update your version of Lightroom.
Quote from: littlespaceman on February 23, 2011, 01:33:10 PM
exiftool -ext cr2 -canonmodelID="PowerShot G11" ~/Pictures/My Photography/Imports/Exiftool Imports/
it comes up with the following message
File not found: /Users/Olly/Pictures/My
File not found: Photography/Imports/Exiftool
File not found: Imports
Is this because the folder with the files is too many 'layers' down?
No. It is because of the spaces in the directory names. You need to place quotes around the filename or escape the spaces with backslashes. (You will notice that the Terminal uses the backslash technique when you drag and drop files like this.)
- Phil
Great - thanks Phil, all sorted now!
I'm glad you sorted it out because I failed to notice that you are using the tilde (~) in your directory name. This is a special character that is expanded to your home directory name (/Users/Olly) by the shell. You can NOT put quotes around this character because if you do the shell won't expand it properly. Here are some examples how you could escape or quote this argument in Mac or Linux shells:
~/Pictures/My\ Photography/Imports/Exiftool\ Imports/
~"/Pictures/My Photography/Imports/Exiftool Imports/"
~/Pictures/'My Photography'/Imports/'Exiftool Imports'/
It sounds like you found a technique that works, but I thought I would mention this in case is comes up for someone else.
- Phil
Thanks again Phil
Just out of interest, regarding your point about keeping the original of the files in case I upgrade my copy of Lightroom, won't the converted CR2 just work in the new copy of Lightroom anyway? That is to say, why would you need the original copies? The original copies also change their names anyway don't they?
All the best
You can use the -restore_original option to restore images from the "_original" backups.
When you get the new version of Lighroom you would either have to re-run exiftool to change the camera name back to G12 again, or restore from the originals. It is just safer to do the latter.
- Phil
Wouldn't the new version of LR just accept the converted RAW files as they are?
FWIW, the command I run is the one suggested by JavaJunky, that misses out the '-model="' part, instead just setting 'canonmodelID'. That way, LR will edit the picture as if it were an G11, but list the camera as an G12 for searching using Metadata, etc. purposes within LR.
Does that mean too that a new version of LR will just read the converted RAW's as being G12 files anyway?
Thanks again!
I can't say for sure, but I would guess that the new version of LR would read the edited files as G11. But if it contains an optimized colour curve for the G12, you might get better results with the original files.
- Phil
Hello, I am also in need of help:
I am trying to convert S95 CR2 files to S90 ones so that my lightroom can identify them.
All of the files are in a folder called "exif" on my desktop.
I am a mac user and in Terminal I do the following:
exiftool -model="Canon PowerShot S90" -canonmodelID="PowerShot S90"~/Desktop/exif
the reply:No file specified
trying now just with one single file on my desktop:
exiftool -model="Canon PowerShot S90" -canonmodelID="PowerShot S90"~/Desktop/
the reply:No file specified.
What am i doing wrong? I would really benifit from the batch mode as I have plenty of files to have data re-written.
Thanks for your help.
Goswin
Hi Goswin,
Quote from: goswin on March 29, 2011, 04:10:17 AM
exiftool -model="Canon PowerShot S90" -canonmodelID="PowerShot S90"~/Desktop/exif
The problem is you need a space before the name of the directory:
exiftool -model="Canon PowerShot S90" -canonmodelID="PowerShot S90" ~/Desktop/exif- Phil
Hi Phil
Although I'm able to use my exiftool for the G12 files now with no problems, I am getting a vertical black bar on my pictures as mentioned earlier in this thread. Was there a solution to that in the end?
Many thanks
I think the solution was to crop the image to remove the black bar.
- Phil
:)
Thank you Phil.
Your help is highly appreciated. I was already getting frustrated and now it works. Perfect.
Goswin