Version: 0.9.4-beta4 (using 3.5.8, Kubuntu (gutsy) 4:3.5.8-0ubuntu3.4) Compiler: Target: x86_64-linux-gnu OS: Linux (x86_64) release 2.6.22-14-generic I created a new tag from a Raw image (right-click, Assign Tag, Create New Tag) and called it "a". "a" was created, but the image was not tagged as such. This was because there was an error writing the meta-data (see below). BTW, any idea when we can write meta data to CRW files? digikam: (a) digikam: a :: /a digikam: /home/digikam/Pictures/2008-04-30/zoo/photo2008-04-30_13-41-20-000002.crw ==> Comment: digikam: /home/digikam/Pictures/2008-04-30/zoo/photo2008-04-30_13-41-20-000002.crw ==> Rating: 0 /home/digikam/Pictures/2008-04-30/zoo/photo2008-04-30_13-41-20-000002.crw ==> Keywords: a digikam: /home/digikam/Pictures/2008-04-30/zoo/photo2008-04-30_13-41-20-000002.crw ==> Author: Paul Waldo digikam: /home/digikam/Pictures/2008-04-30/zoo/photo2008-04-30_13-41-20-000002.crw ==> Author Title: digikam: /home/digikam/Pictures/2008-04-30/zoo/photo2008-04-30_13-41-20-000002.crw ==> Credit: digikam: /home/digikam/Pictures/2008-04-30/zoo/photo2008-04-30_13-41-20-000002.crw ==> Source: digikam: /home/digikam/Pictures/2008-04-30/zoo/photo2008-04-30_13-41-20-000002.crw ==> Copyright: Cannot save metadata using Exiv2 (Error #32: Setting IPTC metadata in CRW images is not supported)
Unable to reproduce bug with SVN version (revisions: exiv2 1463, graphics 813168, libs 813167). New tags created as described above are assigned correctly here. Paul - because Digikam stores tags in its own database, CRW images can be tagged even though exiv2 can't write IPTC tags to the image file itself. (Ie, the tag is stored in the Digikam database and not in the image itself.) I don't know when (or if!) exiv2 will support setting IPTC in CRW.
Tauri, In theory, when TIFF write IO mode from Exiv2 will be implemented. it's under developpement from a separate branch of Exiv2 svn. It's planed for next major release of Exiv2. Andreas, perhaps you can give more info about ? Gilles Caulier
CRW is based on a format called CIFF, it is _not_ a TIFF based format. Exiv2 can already read and write CRW (although related, it's _much_ easier to deal with than TIFF). However there are a limited number of documented or known tags in CRW files and I simply don't know where to put IPTC data (or XMP for that matter) in a CRW file. So most probably it will never be possible to write IPTC data to a CRW file, although technically, it wouldn't be a problem. -ahu.
Sorry to cause such a stir, but the main gist of the report was simply an unhandled code path. I didn't expect raw files to have IPTC written to them, its just that Digikam doesn't handle the case where you can't write the meta data. It may be easier to recreate by removing the write bit on the file...
Paul, Are you tried digiKam 0.10.0 with Exiv2 0.18 which support TIFF metadata writting mode ? Gilles Caulier
Fixed in 0.10.0. Thanks!