------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=149497 Summary: geolocalization kipi plugin does not work with non-jpeg file types Product: digikam Version: unspecified Platform: Compiled Sources OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general AssignedTo: digikam-devel kde org ReportedBy: thorsten.schnebeck gmx net Version: KDE-3-SVN (using KDE KDE 3.5.7) Installed from: Compiled From Sources OS: Linux exiv2 is able to write geodata metadata into e.g png files. Its easy to tests this: Take a jpeg, add geo-data with the kipi-plugin, open in digikams image editor and save as png. You will see, the geo-data are part of the png metadata. But you can not add these geo-tag direct into a png, as you can find code like this in this plugin: [...] // We only add all JPEG files as R/W because Exiv2 can't yet // update metadata on others file formats. QFileInfo fi(url.path()); QString ext = fi.extension(false).upper(); bool ret = false; if (ext == QString("JPG") || ext == QString("JPEG") || ext == QString("JPE")) { [...] So, the comment in the source code is definitely wrong and to test the file format a simple extention is used. What about kde standard test to check a filetype based on MIME data? KMimeType::Ptr type = KMimeType::findByURL("/home/bernd/foobar.jpg"); vs KMimeMagicResult *result = KMimeMagic::self()->findFileType("/home/bernd/foobar.jpg"); (from: http://developer.kde.org/documentation/library/kdeqt/kde3arch/mime.html ) Bye Thorsten P.S. This is a copy of BR148912 that was not forwarded to the developers from the list admin since 14 days. So I had to assign this BR to the wrong package and the digikam devels have additional needless work. Sorry for this. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=149497 caulier.gilles gmail com changed: What |Removed |Added ---------------------------------------------------------------------------- Component|general |Metadata ------- Additional Comments From caulier.gilles gmail com 2007-09-03 06:14 ------- Thorsten, Well no. PNG writting mode is not yet supported by Exiv2 yet (and TIFF also). If GPS info have been included in PNG after to have saved this file by image editor, this is duing than complete file have been create from scrarch using libpng. This way take a while... Exiv2 do not create PNG file from scatch. It modif an exiting file. It's completly different. Exiv2 write PNG support code is in alpha stage on my computer. Gilles _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from thorsten.schnebeck@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=149497 caulier.gilles gmail com changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Metadata |GPSSync Product|digikam |kipiplugins _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from thorsten.schnebeck@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=149497 caulier.gilles gmail com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|digikam-devel kde org |kde-imaging kde org _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Free forum by Nabble | Edit this page |