Modify

Opened 3 years ago

Last modified 4 months ago

#11902 new enhancement

Geotagging, then using jhead results in message 'Suspicious offset of first Exif IFD value'

Reported by: skorbut Owned by: team
Priority: normal Milestone:
Component: Plugin photo_geotagging Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Geotag a JPEG image using a GPX track
  2. Adjust the timestamp of the image using "jhead -ta"

What is the expected result?

jhead will adjust the timestamp without indication of an error.

What happens instead?

jhead reports:

Nonfatal Error : 'thefile.jpg' Suspicious offset of first Exif IFD value
Modified: thefile.jpg

I'm not sure if this is an indication of a problem of any kind but it's certainly not reassuring having to see this message.

Please provide any additional information below. Attach a screenshot if possible.

JOSM Revision: 8800
Jhead version: 2.97 Compiled: Apr 28 2013

Attachments (2)

fakeGPStrack.gpx (1.3 KB) - added by skorbut 3 years ago.
IMG_7250_small.JPG (92.5 KB) - added by skorbut 3 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 3 years ago by simon04

Owner: changed from bastiK to skorbut
Status: newneedinfo

I cannot reproduce using source:trunk/data_nodist/exif-example_direction.jpg. Please provide an example image

final File in = new File(TestUtils.getTestDataRoot(), "exif-example_direction.jpg");
ExifGPSTagger.setExifGPSTag(in, new File("/tmp/foobar.jpg"), 12, 34, new Date(), 12.34, Math.E, Math.PI);
/tmp$ jhead -ta+1:05 foobar.jpg                
Modified: foobar.jpg

Changed 3 years ago by skorbut

Attachment: fakeGPStrack.gpx added

Changed 3 years ago by skorbut

Attachment: IMG_7250_small.JPG added

comment:2 Changed 3 years ago by skorbut

I uploaded a new picture and a suitable (faked) GPX track (timezone may need adjustment to match).

The originally linked file exif-example_direction.jpg seems a bit suspicious: When I open it and try to auto-guess the time-offset, JOSM reports:

The selected photos do not contain time information.

However, jhead (with only the filename as argument) reports

Date/Time    : 2010:05:15 17:12:05

from which I conclude that the time information is available.

comment:3 Changed 3 years ago by skorbut

Owner: changed from skorbut to bastiK
Status: needinfonew

comment:4 Changed 3 years ago by simon04

I added a failing unit test: [o32037]

comment:5 in reply to:  description Changed 3 years ago by bastiK

Reported to commons imaging in IMAGING-180.

comment:6 Changed 4 months ago by Don-vip

Owner: changed from bastiK to team

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to skorbut
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.