nitishyadav05 / gpicsync

Automatically exported from code.google.com/p/gpicsync
Other
0 stars 0 forks source link

[NikonD80] GPS Exif tags not written to the picture file #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Sync a picture - JPEG file - from Nikon D80 with a GPX trace
2.
3.

What is the expected output? What do you see instead?
The GPS Exif tags are not written to the picture file but only the IPTC
tags with position and geotags

What version of the product are you using? On what operating system?
GPicSync 1.10 + WXP SP2

Please provide any additional information below.

Original issue reported on code.google.com by renaudfl...@gmail.com on 30 Jul 2007 at 1:30

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

You're GPX is fine (I've tested it on some of my pictures) but the EXIF part of 
your
picture seems broken (first time I see this).

GPicSync use ExifTool to write in the EXIF header. If I attempt to write 
anything in
the EXIF part of your picture I have an error message from ExifTool:

"""
Error: [minor] Bad format (0) for NikonPreview entry 0 - DSC_0281.JPG
    0 image files updated
    1 files weren't updated due to errors
"""

To investigate further I would need the original picture (the one you sent were
already geocoded in the IPTC). If you didn't take off the automatic backup in
GPicSync you can also find the original picture in the originals-backup folder 
of
your pictures folder.

Thanks

francois

Original comment by francois...@gmail.com on 30 Jul 2007 at 6:54

GoogleCodeExporter commented 9 years ago
Unfortunately, I don't have a backup of the original file.
I join another GPX and JPEG (unmodified) that have the same behavior than the
previous ones.

Original comment by renaudfl...@gmail.com on 30 Jul 2007 at 8:53

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the picture. Unfortunately I can't write anything in the EXIF header 
of
the picture with EXIFTool:
http://www.sno.phy.queensu.ca/~phil/exiftool/

Looking at it more closely you're picture was taken (tag "Date/Time Original")
"2007:07:29 15:43:49.2+02:00.20" and modified (tag "Modify date") by another 
program
  later "2007:07:30 22:28:01+02:00". Also the tag "Date/Time Original" appears twice
which is strange.

So my guess is the program you used before(or which modified the original 
picture)
broke or at lease changed the EXIF header in a way that EXIFTool can't deal 
with.

Unfortunately there's nothing I could do on my side, sorry.

francois

Original comment by francois...@gmail.com on 30 Jul 2007 at 10:01

GoogleCodeExporter commented 9 years ago
Hi,

Thank for advices. I make my own investigations. The Exif header is altered by 
Adobe
Photoshop Elements (all versions including the latest 5.0.2) during the import
operation when it's asked to write some tags (artist, cpyright) in the imported
picture. The same bug occured when you asked APE to write the catalog's tag to 
the
picture file. I have the same behavior with Adobe Bridge. The altered Exif Tag 
is in
my  case is the NikonPreview tag in MarkerNote tag. It looks like APE could'nt 
deal
with large binary tags in IFD0.

I wrote a little tool to fix the Exif header and to restore its internal 
coherence.
The file could not be repared because of lost datas so I fix the problem by 
removing
the NikonPreview tag and rebuilding internal pointers.

Are you interested with the post of this utility in the group. perhaps could it 
be
useful for other users who meet the same problem ?

Renaud

Original comment by renaudfl...@gmail.com on 9 Aug 2007 at 1:04

GoogleCodeExporter commented 9 years ago
Hi Renaud and thanks for this detail feedback.

I'll make a post in the Google New group and also in the Trouble Shooting page 
which
will point to this issue.

Can you give me an URL which point to your tool?

Thanks

francois

Original comment by francois...@gmail.com on 14 Aug 2007 at 8:50

GoogleCodeExporter commented 9 years ago
Thank for the post

The tool that fix the altered tag could be downloaded here :
rflavigny.free.fr/download/fixexif.rar

The packet contains the source C code and a binary for Windows

Original comment by renaudfl...@gmail.com on 14 Aug 2007 at 12:20