Solved

Can't Repair Exif Data

Posted on 2010-08-16
4
494 Views
Last Modified: 2012-05-10
I have a batch of files that were taken with a Japanese mobile phone in 2006 that I'm trying to process.  All the metadata I need is in there, but the exposure date/time is wrong.  I am trying to fix it, but none of the tools I usually use are working.  I have tried a few things with ExifTool, but I can't seem to change the date.  For some commands I get this:
Error: [minor] MakerNotes offsets may be incorrect (fix or ignore?) - [path]
    0 image files updated
    1 files weren't updated due to errors
I have also tried GraphicConverter's time shift function (which I suspect actually uses exiftool), but nothing happens.  No errors, but no changes.  The only way I have been able to fix it is to open in Photoshop and save a copy, thereby forcing a new metadata header to be created.  But that means I have to recompress the data and I don't want to do that.  Any ideas how to solve this?

Mike

0
Comment
Question by:shacho
  • 2
4 Comments
 
LVL 38

Assisted Solution

by:lherrou
lherrou earned 500 total points
Comment Utility
shacho,

You could always use a hex editor to go in and actually edit the raw data that make up the Exif information. If you take this approach, work only with copies of the files, not the originals, since it's pretty easy to mess up the header completely, and have an unviewable file.

The basic procedure is pretty simple - get a hex editor (there's a number of free or cheap options), examine the header of several of the files until you have a sense of the structure and of the sections of the EXIF data you want to edit, edit it, save it and open in a viewer program to ensure you didn't damage the image, then check if the EXIF information is now correct.

Cheers,
LHerrou
0
 

Accepted Solution

by:
shacho earned 0 total points
Comment Utility
I did manage to work out another solution using exiftool.  I got it to force the correction by shifting forward with -F enabled then right back.

unix: exiftool -F -alldates+='0:0:0 0:0:1' ./ -execute -alldates-='0:0:0 0:0:1' ./
win:  exiftool -F -alldates+="0:0:0 0:0:1" \ -execute -alldates-='0:0:0 0:0:1' \

In fact, on my system a zero-shift ( exiftool -F -alldates+="0:0:0 0:0:0" \ ) worked for me on xp, but the bsd version rejected it saying there was nothing to change.

Mike
0
 

Author Comment

by:shacho
Comment Utility
I cannot seem to close this discussion properly so I have requested attention.

Mike
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

In a previous article published here at Experts Exchange, Signature Image with Transparent Background (http://www.experts-exchange.com/Web_Development/Document_Imaging/A_12380-Signature-Image-with-Transparent-Background.html), I explained how to cre…
In a previously published article (http://www.experts-exchange.com/articles/10331/Automatic-Duplex-Scanning-in-PaperPort-Versions-11-12-14.html) here at Experts Exchange, I explained how to achieve duplex (double-sided) scanning in Nuance's PaperPor…
The goal of the tutorial is to teach the user how to import photos into Adobe Lightroom efficiently and to keep everything organized.
Learn how to automatically add page numbers in your next InDesign project. This can be very helpful in multi-page books and magazines that you are designing. Make sure your Pages window visible.:  In the document you wish to add page numbers to. Act…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now