[Bug 210226] New: Adding Geolocation to image causes Flickr to not recognize EXIF data

classic Classic list List threaded Threaded
41 messages Options
123
Reply | Threaded
Open this post in threaded view
|

[Bug 210226] New: Adding Geolocation to image causes Flickr to not recognize EXIF data

Gerald B. Cox
https://bugs.kde.org/show_bug.cgi?id=210226

           Summary: Adding Geolocation to image causes Flickr to not
                    recognize EXIF data
           Product: digikam
           Version: unspecified
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Geolocation
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:            (using KDE 4.3.1)
OS:                Linux
Installed from:    Fedora RPMs

I have a JPG with EXIF data (camera, time/date, etc.) - I upload this
unretouched image to Flickr, and view the meta data.  Everything looks fine.  I
then use the convert to PNG function in digiKam.  I upload this PNG image to
Flickr, and view the meta data, everything again appears fine, i.e. the convert
function appears to correctly copied the EXIF data to the PNG image file and
Flickr recognizes and displays the data.

I then use the Geolocation function to add the location data.  I do this for
the JPG and PNG images.  After I upload to Flickr, the EXIF data (camera,
time/date, etc.) is now gone.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 210226] Adding Geolocation to image causes Flickr to not recognize EXIF data

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=210226


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Geolocation                 |Metadata
            Version|unspecified                 |1.0.0




--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2009-10-11 20:06:26 ---
Sound like a bug in Flickr, not digiKam.

Anyway Exif data still compatible and managed in background by Exiv2 library...

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 210226] Adding Geolocation to image causes Flickr to not recognize EXIF data

Bugzilla from p.edelman@gmx.net
In reply to this post by Gerald B. Cox
https://bugs.kde.org/show_bug.cgi?id=210226


Pieter Edelman <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |[hidden email]
     Ever Confirmed|0                           |1




--- Comment #2 from Pieter Edelman <p edelman gmx net>  2009-10-12 09:00:39 ---
Actually it's not a Flickr bug but a Flickr feature, and not a digiKam bug but
a missing Kipi Plugins feature :P

When uploading to Flickr, you can specify tags, comments, safety level etc.,
but not the location. If you want to do that, you have to make a separate web
call which at the moment isn't done. I'll see if I can implement that.

In the meantime, there's a Flickr setting to let it recognize the locations. If
you go to http://www.flickr.com/account/?tab=privacy, you'll see the option
"Import EXIF location data". Turn that on and Flickr will always read the
location from your Exif data.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 210226] Adding Geolocation to image causes Flickr to not recognize EXIF data

Gerald B. Cox
In reply to this post by Gerald B. Cox
https://bugs.kde.org/show_bug.cgi?id=210226





--- Comment #3 from Gerald Cox <gbcox bzb us>  2009-10-12 19:24:12 ---
Well, a picture is worth a thousand words.... ;-)

www.flickr.com/photos/9550073@N03/

Here is the photostream which explains a bit better what I am talking about.
When you click on the picture, you can see the meta data by adding "/meta"
without the quotes to the URL displayed.  

The basejpg, basepng photos are the photos from digiKam before I tried to add
the geolocation information.  The geojpg, geopng photos have the location
information added.  If you look at the meta data you will see it appears that
all the information shown in the base photos is now gone.  

I wouldn't think that adding the location information would then make all the
other info to disappear, but that is what apparently is happening.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 210226] Adding Geolocation to image causes Flickr to not recognize EXIF data

Johannes Wienke-3
In reply to this post by Gerald B. Cox
https://bugs.kde.org/show_bug.cgi?id=210226


Johannes Wienke <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #4 from Johannes Wienke <languitar semipol de>  2009-10-12 19:31:44 ---
This looks strange.

Does digikam still show meta information for the geo-files?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 210226] Adding Geolocation to image causes Flickr to not recognize EXIF data

Gerald B. Cox
In reply to this post by Gerald B. Cox
https://bugs.kde.org/show_bug.cgi?id=210226





--- Comment #5 from Gerald Cox <gbcox bzb us>  2009-10-12 20:37:27 ---
Yes, the meta data (including location coordinates) show fine under digiKam.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 210226] Adding Geolocation to image causes Flickr to not recognize EXIF data

Johannes Wienke-3
In reply to this post by Gerald B. Cox
https://bugs.kde.org/show_bug.cgi?id=210226





--- Comment #6 from Johannes Wienke <languitar semipol de>  2009-10-12 20:41:47 ---
Ok, there are two things you could try.

1. use exiftool on that files. Does it show meta data?

if it doesn't

2. use image -> write metadata to image

and see again if the meta data are really present in the file

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 210226] Adding Geolocation to image causes Flickr to not recognize EXIF data

Gerald B. Cox
In reply to this post by Gerald B. Cox
https://bugs.kde.org/show_bug.cgi?id=210226





--- Comment #7 from Gerald Cox <gbcox bzb us>  2009-10-13 02:38:25 ---
I ran the exiftool command, and indeed the display is now different for the
base and geo files.  The base file displays the following sections:
File, IFD0, ExifIFD, Canon, InteropIFD, IFD1 and Composite.  The geo file
displays only File, JFIF and Composite.  digiKam shows the information for the
geo file in the EXIF section, so I know the information isn't lost, but
apparently it is stored in a place where Flickr and exiftool aren't looking.
Is this the way it is suppose to work?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 210226] Adding Geolocation to image causes Flickr to not recognize EXIF data

Gerald B. Cox
In reply to this post by Gerald B. Cox
https://bugs.kde.org/show_bug.cgi?id=210226





--- Comment #8 from Gerald Cox <gbcox bzb us>  2009-10-13 03:01:45 ---
I also checked with the gqview package - the exif info also appears there, even
though it doesn't show up using the exiftool program.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 210226] Adding Geolocation to image causes Flickr to not recognize EXIF data

Johannes Wienke-3
In reply to this post by Gerald B. Cox
https://bugs.kde.org/show_bug.cgi?id=210226





--- Comment #9 from Johannes Wienke <languitar semipol de>  2009-10-13 16:58:10 ---
Digikam has some options to set whether to store meta data in the exif tags
etc. or only in its internal database. Did you also try the second step I
proposed? Otherwise you could try to set the options to store information in
the exif data and try it again.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 210226] Adding Geolocation to image causes Flickr to not recognize EXIF data

Gilles Caulier-4
In reply to this post by Gerald B. Cox
https://bugs.kde.org/show_bug.cgi?id=210226





--- Comment #10 from Gilles Caulier <caulier gilles gmail com>  2009-10-13 17:59:56 ---
Johannes,

This way must work, but witha recent of kipi-plugins. I remember to have fixed
a bug to flickr tool to not lost Exif data when image are resized before to
upload.

Anyway, with KDE4 version, we can now get GPS info from digiKam database.
libkipi and digiKam kipi interface can do it. We just need to pass these info
to flickr API.

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 210226] Adding Geolocation to image causes Flickr to not recognize EXIF data

Gilles Caulier-4
In reply to this post by Gerald B. Cox
https://bugs.kde.org/show_bug.cgi?id=210226


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #11 from Gilles Caulier <caulier gilles gmail com>  2009-10-13 18:03:45 ---
Johannes,

Some pointers :

http://lxr.kde.org/source/extragear/graphics/digikam/utilities/kipiiface/kipiimageinfo.cpp#147

http://lxr.kde.org/source/KDE/kdegraphics/libs/libkipi/libkipi/imageinfo.cpp#78

Gilles

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 210226] Adding Geolocation to image causes Flickr to not recognize EXIF data

Gerald B. Cox
In reply to this post by Gerald B. Cox
https://bugs.kde.org/show_bug.cgi?id=210226





--- Comment #12 from Gerald Cox <gbcox bzb us>  2009-10-13 19:58:44 ---
Johannes,
No I did not try the second option, since I really didn't understand how to use
the image command.

I did however display the exif data using the gqview program, and the
information is showing in the exif using that program, but it doesn't show when
using exiftool.  

Interestingly enough, for jpg files, picasaweb can see the information and
appropriately shows the correct map information - but does not recognize
anything for the png files.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 210226] Adding Geolocation to image causes Flickr to not recognize EXIF data

Johannes Wienke-3
In reply to this post by Gerald B. Cox
https://bugs.kde.org/show_bug.cgi?id=210226





--- Comment #13 from Johannes Wienke <languitar semipol de>  2009-10-13 21:43:44 ---
(In reply to comment #12)
> No I did not try the second option, since I really didn't understand how to use
> the image command.

Digikam stores some infos in an internal database. If you select an image and
use this command, digikam writes all information present in the database back
to the image, if they are somehow supported by exif, iptc and so on. So it
would be worth to select one of the geo-files and use this menu option. It
cannot destroy more than that single image. ;) So it would be worth a try if
the exif information is correct after that.

> I did however display the exif data using the gqview program, and the
> information is showing in the exif using that program, but it doesn't show when
> using exiftool.  
>
> Interestingly enough, for jpg files, picasaweb can see the information and
> appropriately shows the correct map information - but does not recognize
> anything for the png files.

After this ans playing a bit with gqview I suspect that there is something
damaged in the exif information stored in the geo files. Opening this file in
gqview creates this warning:

exif tag unknown data size mismatch

Gilles:
Using the flickr api to set the location is of course something to be
implemented, but as far as I can see this bug is more about somehow damaging
the exif structure in the files. I'm really not into how this works. Who knows
how to debug this?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 210226] Adding Geolocation to image causes Flickr to not recognize EXIF data

Gilles Caulier-4
In reply to this post by Gerald B. Cox
https://bugs.kde.org/show_bug.cgi?id=210226


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #14 from Gilles Caulier <caulier gilles gmail com>  2009-10-13 22:14:54 ---
Me and Andreas, can help you.

Andreas is Exiv2 author. Exiv2 is used here to restore, through libkexiv2
interface all metadata from origianl image to resized image uploaded to flickr.

Test to do :

1/ Identify if a non resized image is not corrupted by flickr. If yes, it's not
an Exiv2 problem.

2/ Isolated resized image in local, before uploading. Compare metadata with
original, using ExifTool.

Code relevant is there :

http://lxr.kde.org/source/extragear/graphics/kipi-plugins/flickrexport/flickrtalker.cpp#625

3/ Post information here, and follow Andreas tips. He is in CC.

Gilles

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 210226] Adding Geolocation to image causes Flickr to not recognize EXIF data

Gerald B. Cox
In reply to this post by Gerald B. Cox
https://bugs.kde.org/show_bug.cgi?id=210226





--- Comment #15 from Gerald Cox <gbcox bzb us>  2009-10-13 22:39:42 ---
I want to make sure we are not going down the wrong path here.  I did not use
the upload function within digiKam to upload the images to flickr.  I used the
basic web upload from the flickr website.  Also, after I uploaded the photos to
flickr, I then downloaded them (original size) back to my computer and then did
a diff to compare, they are identical.  So, that tells me that nothing is being
changed by uploading the pictures to flickr.  All I did was use the function
within digiKam to write geo data - I made no other changes to the base photos.
I hope that explains the situation.  

You can duplicate by downloading one of the base photos (original size) from
Flickr and then adding geotag information.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 210226] Adding Geolocation to image causes Flickr to not recognize EXIF data

Johannes Wienke-3
In reply to this post by Gerald B. Cox
https://bugs.kde.org/show_bug.cgi?id=210226





--- Comment #16 from Johannes Wienke <languitar semipol de>  2009-10-13 23:39:10 ---
Ok, this is of course a useful information. But I can't reproduce your problem
here. What I did was:
1. Downloading your original jpg from flickr
2. Adding it in a digikam album
3. Adding coordinates to it via image -> geo localization -> add coordinates
Afterwards all exif information seems to be good.

Can you please provide a step by step description of what you have done
including the image files used.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 210226] Adding Geolocation to image causes Flickr to not recognize EXIF data

Gerald B. Cox
In reply to this post by Gerald B. Cox
https://bugs.kde.org/show_bug.cgi?id=210226





--- Comment #17 from Gerald Cox <gbcox bzb us>  2009-10-14 00:01:25 ---
Thanks for your assistance.  What I did was use the basepng.png file.  I then
selected the file from the album view so the file was highlighted, but the rest
of the photos still showed in the folder.  I then selected image, geolocation,
edit coordinates.  This added the geolocation information to the png file.  I
then used the convert function to create the jpg version of the image.  The
basepng.png file was created from the original source file from the camera
using the convert function.  This gives me the geojpg.jpg and the geopng.png
files.  

So are you saying you do the same thing and the exiftool shows the correct
information for both the basepng.png and geopng.png file?  When I do it, it is
different (as you can see from the files I uploaded to flickr).

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 210226] Adding Geolocation to image causes Flickr to not recognize EXIF data

Johannes Wienke-3
In reply to this post by Gerald B. Cox
https://bugs.kde.org/show_bug.cgi?id=210226





--- Comment #18 from Johannes Wienke <languitar semipol de>  2009-10-14 00:26:28 ---
Ok, now I see the problem. The exif corruption seems to happen when assigning
the gps coordinates to the png file.

The strange thing is that this only happens for the png file you provided. I've
tested it with other png files of my own and even with a png converted from
your original jpg. None of them showed the same problem.

Does this happen for you with every png you got or created the same way like
the one you uploaded to flickr?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 210226] Adding Geolocation to image causes Flickr to not recognize EXIF data

Gerald B. Cox
In reply to this post by Gerald B. Cox
https://bugs.kde.org/show_bug.cgi?id=210226





--- Comment #19 from Gerald Cox <gbcox bzb us>  2009-10-14 00:42:32 ---
Yes, this has happened to all the files I have tried to upload to Flickr so
far.  What I have been doing is using the convert function on jpg files to
switch them to PNG for archiving purposes.  I then geotag the file.  I
converted the geotagged png file back to jpg to upload since png wasn't
working.  I then discovered the problem.  It is good you were able to
re-create.  Hopefully it can be determined what the problem is.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
123