Re: Wrong timestamp (Hour!)



Hej

Checking a bit more, and I see that you convert the local time from the
EXIF data to UTC time format. This is based upon the timezone in the
computer you are using when you run F-Spot. The conversion changes the
correct EXIF timestamp to some wrong values.

I do not think this is a good idea.

Consider the following:
1) You take some photos in Melbourne/Australia (with correct time in camera)
2) Board a plan to Ireland
3) Take some photos in Singapore airport (with correct time in camera)
4) Take some photos in Copenhagen airport (with correct time in camera)
5) Arrive to Ireland, and take more photos (with correct time in camera)
6) download the photos to your laptop wich is running either Melbourne or
Irish time.

In this case, as long as you do not know the timezone for each and every
photo, it is much better of just to take the photo time at face value. Or?

/Bengt

<citat vem="Larry Ewing">
> This is the timezone causing problems.  I need to go through the current
> logic and figure out what to do.
>
> --Larry
>
> On Wed, 2005-08-03 at 21:53 +0900, Bengt Thuree wrote:
>> Hej
>>
>> I discovered that F-Spot has the wrong hour compared to the EXIF data.
>> This is easily confirmed by opening a picture in "Image Viewer" and
>> checking the EXIF data.
>>
>> For instance, two of my pictures should have hours 18 and 13, but
>> instead
>> F-Spot reported the hours as 08 and 02.
>>
>> I also verified that the photo.Time.ToString ("MM") gives the same
>> faulty
>> result.
>>
>> I verified with the MetaDataExtractor assembly from Ferret Renaud, and
>> this one reports the
>> correct timestamp in the EXIF fields.
>>
>> I am using the stock 0.0.13 version.
>>
>> Can this be confirmed by someone else, so I can write a TR, or is it
>> something else?
>>
>> /Bengt
>>
>> p.s.
>> I tried to go through the code to see where the picture gets the time
>> stamp from. But could only see that it took it from the unix file's
>> creation time, which is obviously not the correct place, since the
>> timestamp in F-Spot is the correct one apart from Hour.
>>
>
>
>


-- 
Bengt Thuree   bengt thuree com    www.thuree.com/bt




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]