ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: asamar on April 08, 2019, 01:52:59 PM

Title: Error (260) for JPEG's created by Kodak PixPro FZ250
Post by: asamar on April 08, 2019, 01:52:59 PM
I have been using exiftool command line for years on JPEG files created by quire a number of cameras and smartphones, always successfully.
I bought a new Kodak PixPro FZ152 camera recently, and there seems to by some sort of incompatibility of the JPEG files with exiftool. E.g. a command:
exiftool -n -orientation= -overwrite_original 118_0016.JPG
returns:
Error: [minor] Bad format (260) for MakerNotes entry 0 - 118_0016.JPG
    0 image files updated
    1 files weren't updated due to errors

A few example files can be found here:
https://drive.google.com/drive/folders/1LT_Y09fM7kZCXg6j4eRzdKa6GuFX8DBR?usp=sharing (https://drive.google.com/drive/folders/1LT_Y09fM7kZCXg6j4eRzdKa6GuFX8DBR?usp=sharing)
Title: Re: Error (260) for JPEG's created by Kodak PixPro FZ250
Post by: Phil Harvey on April 08, 2019, 02:00:52 PM
Yes, there are many problems with this image, mostly attributed to incompetent Kodak programmers:

exiftool 118_0014.JPG -validate -warning -a
Validate                        : 17 Warnings (all minor)
Warning                         : [minor] Odd offset for IFD0 tag 0x0132 ModifyDate
Warning                         : [minor] Odd offset for ExifIFD tag 0x829a ExposureTime
Warning                         : [minor] Odd offset for ExifIFD tag 0x829d FNumber
Warning                         : [minor] Odd offset for ExifIFD tag 0x9003 DateTimeOriginal
Warning                         : [minor] Odd offset for ExifIFD tag 0x9004 CreateDate
Warning                         : [minor] Unknown ExifIFD tag 0x9103
Warning                         : [minor] Odd offset for ExifIFD tag 0x9201 ShutterSpeedValue
Warning                         : [minor] Odd offset for ExifIFD tag 0x9202 ApertureValue
Warning                         : [minor] Odd offset for ExifIFD tag 0x9204 ExposureCompensation
Warning                         : [minor] Odd offset for ExifIFD tag 0x9205 MaxApertureValue
Warning                         : [minor] Odd offset for ExifIFD tag 0x920a FocalLength
Warning                         : [minor] Odd offset for ExifIFD tag 0x927c
Warning                         : [minor] Bad format (260) for MakerNotes entry 0
Warning                         : [minor] Odd offset for ExifIFD tag 0xa404 DigitalZoomRatio
Warning                         : [minor] Odd offset for IFD1 tag 0x011a XResolution
Warning                         : [minor] Odd offset for IFD1 tag 0x011b YResolution
Warning                         : [minor] Unknown APP5 segment


But you can ignore a minor error when writing by adding -m to the command.  FAQ 15 (https://exiftool.org/faq.html#Q15) deals with this topic.

- Phil
Title: Re: Error (260) for JPEG's created by Kodak PixPro FZ250
Post by: asamar on April 09, 2019, 01:48:55 AM
OK, that works. Thanks a lot :)