ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: busywait on November 27, 2016, 06:18:33 PM

Title: Minor error prevents writing to olympus jpeg
Post by: busywait on November 27, 2016, 06:18:33 PM
Hello,

exiftool v 10.36, running exiftool.exe on Windows 10 x64 1607.

I have found that exiftool will not write to .jpg files generated by my Olympus E-PL7 camera by default. The command below writes -FNumber=8 to all files in a directory, and you can see that only .jpg files generated by my camera fail.

Does anyone want a sample file to play with, or can I get more info to share? Or, is this expected and nothing to worry about?

Is there a mode to create a backup file only if a minor error has been ignored?


C:\utils\ExifActionRunner>exiftool.exe -FNumber=8 "C:\mydir"
======== C:/mydir/PA100163.JPG [1/38]
Error: [minor] Bad format (4867) for EquipmentIFD entry 0 - C:/mydir/PA100163.JPG
======== C:/mydir/PA100163.ORF [2/38]
======== C:/mydir/PA100163.xmp [3/38]
======== C:/mydir/PA100165.JPG [4/38]
Error: [minor] Bad format (4867) for EquipmentIFD entry 0 - C:/mydir/PA100165.JPG
...
======== C:/mydir/PA100254-oly.JPG [35/38]
Error: [minor] Bad format (4867) for EquipmentIFD entry 0 - C:/mydir/PA100254-oly.JPG
======== C:/mydir/PA100254.jpg [36/38]
======== C:/mydir/PA100254_detail-1.jpg [37/38]
======== C:/mydir/PA100254_edited-1.jpg [38/38]
    1 directories scanned
   26 image files updated
   12 files weren't updated due to errors
-- press RETURN --
Title: Re: Minor error prevents writing to olympus jpeg
Post by: Phil Harvey on November 27, 2016, 08:05:28 PM
Did you by any chance edit this JPG file with some other software?

I have an E-PL7 sample JPG and ExifTool writes it fine (no errors or warnings).

This is typical of the sort of error you get when some other software doesn't properly update the makernotes offsets when they are rewritten.  See FAQ 14 (https://exiftool.org/faq.html#Q14).

- Phil
Title: Re: Minor error prevents writing to olympus jpeg
Post by: busywait on November 28, 2016, 06:47:48 PM
Ah, yes, it looks like Adobe Elements Organizer 15 was used to add a description and keywords to the images.

Is -m to ignore minor errors my best bet here then, and I should expect to loose the maker info? I'm not using Elements Organizer any more for other reasons :)