Problems with backup of RAW files

Started by herb, March 17, 2018, 07:23:43 AM

Previous topic - Next topic

herb

Hello Phil,

I work with Exiftool 10.86 on a Windows 7 64-bit system.
In order to verify that my C++ application does generate proper Exiftool commands, I did some regressiontests and I found the following strange behaviour which I could also reproduce in DOS-box:
- I have a *.orf file: image.orf
- I called exiftool with following parameter: -tagsfromfile @ -All image.orf
  and Exiftool responded: 1 image files updated

- Now I have a problem opening the backup image.orf_original with IrfanView and also with XnViewMP
  IrfanView says: Decoding error; wrong or unknown TIF File
  XnViewMP says: Error opening file

The original image can be opened in IrfanView and XnViewMP and also
the modified image file can be opened with both applications.

For all 3 files - the original, the modified and the backup file - Exiftool does not give warnings or errors.

Now I need your help: Please have a look into the described problem.
Thanks in advance.
I will send the *.orf image with mail.

Additional info:
I have this problem also with *.cr2 and *.nef images. But I did not work with other RAW-files.
As I did not such tests for a long time, I cannot say when the problem/error occurred first.

Best regards
Herb

herb

Hello Phil,

I regret, that I have opened this topic.
It is NOT a problem of Exiftool. It is a problem with IrfanView and also with XnViewMP.

Both applications have problems to open an image when the file-extension does not fit to file content.
In a previous version of IrfanView such files could be opened.

Sorry again for making so much noise.

Maybe it is better to delete this topic.

Best regards
Herb

Phil Harvey

Hi Herb,

I'm glad you solved the problem.

I think it would be useful to leave this post up in case someone else has this problem with IrfanView or XnViewMP.

So this was a TIFF file that was named .orf?  I could perhaps put a check for this in ExifTool.

- Phil

...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

herb

Hello Phil,

thanks for your understanding.

The file I worked with, is really a *.orf image. It was NOT renamed.
I do not know/understand why IrfanView talks about a TIF file.

For me no further check is necessary in Exiftool.

Thanks again and
Best regards
Herb

Phil Harvey

Ah, I understand now.  Sorry, I didn't read your first post carefully enough.  You had problems opening an ORF file with a ".orf_original" extension.  Right.  That makes sense.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).