Bug 146025 - Wrong image name when using info from EXIF
Summary: Wrong image name when using info from EXIF
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-PostProcessing (show other bugs)
Version: 0.9.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-27 17:53 UTC by .nedberg
Modified: 2017-08-16 05:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 0.9.5


Attachments
IMG_1501.JPG (2.75 MB, image/jpeg)
2007-08-25 17:37 UTC, .nedberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description .nedberg 2007-05-27 17:53:13 UTC
Version:           0.9.1 (using KDE KDE 3.5.6)
Installed from:    Ubuntu Packages

When I import images from my Canon IXUS 850IS using the add-date-and-time function in the camere view, the images get the wrong name. A picture taken at 19:22:25 (HH:MM:SS) will get the filename 20:22:25. I have tried changing the timezone on my camera and setting daylight saving both on and off. I even changed the timezone on my computer, but nothing helped. The only thing I could do was to use incorrect time on my camera. The EXIF information is correct, but digiKam will not use the correct time.
Comment 1 caulier.gilles 2007-08-25 13:00:26 UTC
Nedberg,

Can you give me a picture sample from your camera to test with the right date where have been taken the image. Thanks in advance

Gilles Caulier
Comment 2 .nedberg 2007-08-25 17:37:37 UTC
Hi, thank you for looking into this!

The attached image was taken today (2007-08-25) at 17.21 GMT+1. The
EXIF-time is correct, but if I download it with digiKam it will use
18.21 as the time. I tried to look into this myself and found that
digiKam uses the modification time of the file. I do not know why my
camera gives the image a modification time of 18.21, but digiKam
should use the EXIF time anyway.

Hope you find the time to fix this for me!

Even Nedberg



25 Aug 2007 11:00:27 -0000, Gilles Caulier <caulier.gilles@gmail.com>:
[bugs.kde.org quoted mail]


Created an attachment (id=21480)
IMG_1501.JPG
Comment 3 caulier.gilles 2007-08-25 18:07:31 UTC
Nedberg,

Ok, now i understand where is the problem. Thanks for this investiguation. Using the Exif date is a possibility to study.

Like your camera is a Canon one, i suspect than you use the Gphoto2 driver to download images to computer. Look into Help/Camera Info dialog for details.

digiKam use the Gphoto2 to handle files from camera like a virtual folder. Date & time of files are given by Gphoto2 driver. It's possible than driver has a bug...

If you can use a Flash Card reader, mount your camera memory device like an USB MAss Storage media. This on e do not use Gphoto2. If the date the right when you download, the bug is in GPhoto2 drivers, else this is a problem with your camera. 

Note : the code to interface Gphoto2 drivers or the UMS digiKam drivers is the same. This is why we can compare results as well.

Gilles
Comment 4 caulier.gilles 2007-08-25 18:09:42 UTC
Nedberg,

Look this entry: http://bugs.kde.org/show_bug.cgi?id=147986

It's sound like a similar problem with Canon Camera...

Gilles
Comment 5 .nedberg 2007-09-16 21:26:40 UTC
You were right! When I used a USB card reader the image time was
correct. I hope this bug will be corrected though. In the mean time, I
will use a card reader.

Even
Comment 6 caulier.gilles 2007-09-19 08:07:32 UTC
Nedberg,

Thanks for the report. I recommend you to post a report in Gphoto2 bugzilla to fix the Canon Gphoto2 driver. Nothing can be done in this by digiKam...

Gilles
Comment 7 caulier.gilles 2007-09-19 08:08:55 UTC
*** Bug 147986 has been marked as a duplicate of this bug. ***
Comment 8 caulier.gilles 2008-12-04 16:20:26 UTC
Nedberg, 

What news about this file ?

Gilles Caulier
Comment 9 .nedberg 2008-12-04 16:58:17 UTC
Well, I have got myself a new camera. And I now only use a card reader to transfer images so I haven't seen this bug for a while. I just dug up the old Canon IXUS 850IS and made a shot.

On Kubuntu 8.04 with digiKam 0.9.3 the filename is correct! Marking as fixed!