Wrong EXIF values for CRW files

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
Mike2005
Posts: 23
Joined: Thu Jun 09, 2005 12:27 pm

Wrong EXIF values for CRW files

Post by Mike2005 »

The Shutter Speed and Exposure Time values seem to be miscalculated for (Canon) camera raw files in XnView beta 6.

Examples:

Example 1, converted by Photoshop (Exposure Time = 1/200)
and the original CRW file (Exposure Time in XnView = 1/189).

Example 2, converted by Photoshop (Exposure Time = 1/60)
and the original CRW file (Exposure Time in XnView = 1/70).

V1.90 B6
Last edited by Mike2005 on Sat Jan 06, 2007 9:43 pm, edited 1 time in total.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: B6: Wrong EXIF values for CRW files

Post by xnview »

Mike2005 wrote:The Shutter Speed and Exposure Time values seem to be miscalculated for (Canon) camera raw files in XnView beta 6.

Examples:

Example 1, converted by Photoshop (Exposure Time = 1/200)
and the original CRW file (Exposure Time in XnView = 1/189).

Example 2, converted by Photoshop (Exposure Time = 1/60)
and the original CRW file (Exposure Time in XnView = 1/70).
The files are no more here :-(
Pierre.
Mike2005
Posts: 23
Joined: Thu Jun 09, 2005 12:27 pm

Re: B6: Wrong EXIF values for CRW files

Post by Mike2005 »

xnview wrote: The files are no more here :-(
I uploaded the files to another provider and changed the links in the original post. So it should work again...
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Bang !

Post by Clo »

:) Hello !

• I got your file Example 1, and XnView 1.90 ß-6 crashes immediately when attempting to read it…

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: B6: Wrong EXIF values for CRW files

Post by xnview »

Mike2005 wrote:
xnview wrote: The files are no more here :-(
I uploaded the files to another provider and changed the links in the original post. So it should work again...
Ok, i've checked with ExifTools, and have the same result. So don't know how photoshop find these values...
Pierre.
Mike2005
Posts: 23
Joined: Thu Jun 09, 2005 12:27 pm

Re: B6: Wrong EXIF values for CRW files

Post by Mike2005 »

Strange.... :?
PS has its quirks, but I think, here it is right.

The thumbnail files (.THM) have the same values as the PS conversions. But when I did the conversion, the CRW file was not in the same directory as the THM, so PS couldn't base its conversion upon the THM data.
You'll get also the same values when converting with Canon's EOS Viewer Utility.

I first thought that these progs use the EXIF information in the embedded JPEG file but it seems that the latter doesn't contain EXIF data.

If you look at the output of ExifTool, there's a tag "Target Exposure Time" which has (almost) the same value as the "Exposure Time" tag in the PS conversions. You can see the gap between "Target Exposure Time" and "Exposure Time" also in this sample output of ExifTool, I found on the net. So the solution maybe is to use the "Target Exposure Time" tag instead of "Exposure Time". If you based the CIFF decoding upon Phil Harvey's work, it's perhaps a bug in his code?
Post Reply