Bad format (0) for IFD2 entry 0

Started by pajaro, September 28, 2016, 04:18:36 PM

Previous topic - Next topic

pajaro

Hello, this is my first time here...
I am trying to remove all date and time info from an image using commands:
-overwrite_original_in_place
-alldates=
{Files}

but I keep getting the following error message:

Warning: [minor] Entries in IFD2 were out of sequence. Fixed.
Error: Bad format (0) for IFD2 entry 0
    0 image files updated
    1 files weren't updated due to errors

ExifToolGUI generates numerous error messages, e.g.: Bad IFD2 offset for tag 0x0003; Bad IFD2 offset for tag 0x0003; Bad format (8224) for IFD2 entry 5; Bad format (22064) for IFD2 entry 10; [Minor] Too many warnings -- IFD2 parsing aborted (did not copy all of them).

I used these commands in the past without problems and I do not understand what is going on now. Any help will be greatly appreciated.

Thanks,

Pavel.

Phil Harvey

Hi Pavel,

There is a problem with the image in question.  It has been corrupted somehow.

What type of file is this?  JPEG, TIFF?

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

pajaro

Quote from: Phil Harvey on September 28, 2016, 09:44:29 PM
Hi Pavel,

There is a problem with the image in question.  It has been corrupted somehow.

What type of file is this?  JPEG, TIFF?

- Phil

Hi Phil,

Thanks, this is a JPEG file and in fact it seems that I have many files taken over a period of several months affected by the same problem. Would a sample image help you? I found a workaround, though - I was able to remove all metadata; this worked without problems.

Phil Harvey

You can rebuild the metadata of the image to fix this problem.  See FAQ 20 for more information.

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

pajaro

Quote from: Phil Harvey on September 29, 2016, 07:59:50 AM
You can rebuild the metadata of the image to fix this problem.  See FAQ 20 for more information.

- Phil

Thanks, I will give it a try.

Pavel.