Undersized IFD0 StripByteCounts error when modifying ORF (OM-D E-M1 Mk II)

Started by lintujuh, September 13, 2018, 02:22:22 PM

Previous topic - Next topic

lintujuh

When I try to modify an ORF (straight from the camera) with exiftool 11.10 I get an error of undersized IFD0 StripByteCounts and exiftool refuses to make the updates unless I specify -m option. With exiftool 11.01 there are no messages. Is there a bug in the Olympus RAW file format or in exiftool?

$ exiftool -ImageDescription= P5140403.ORF
Error: [minor] Undersized IFD0 StripByteCounts (17442694 bytes, but expected 40997760) - P5140403.ORF
    0 image files updated
    1 files weren't updated due to errors

I can send you an example if you need.

-Juha

StarGeek

Phil is AFK at the moment, so it will probably be a few days before you will get a response on this.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Phil Harvey

Hi Juha,

Version 11.04 added a check on the size of the image data.  It is likely that Olympus is writing some related tags incorrectly.  Either that or is just not following the TIFF specification for their RAW file format (which is of course entirely their prerogative).  Thanks for the feedback.  I'm still evaluating the usefulness of this additional check, and may consider removing it if it causes too many problems like this.

- 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 ($).

Phil Harvey

ExifTool 11.11 makes this a minor warning (not an error) for ORF files, since this seems to be normal for them.

- 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 ($).