[Digikam-users] Digikam 2.9: Save image comments to file

Peter Albrecht peter at crazymonkeys.de
Thu Oct 11 08:55:47 BST 2012


On 10.10.2012 22:05, Markus Ebert wrote:
> I suspect that something is wrong with a tool digikam relies
> on (e.g. exiftool did not work out box as it turned out
> dependencies were wrong), 

In DigiKam, go to "Help" -> "Components Information" and
post the output on the mailing list.

Mine looks like:
-------------------------- 8< ------------------------------
> digiKam version 2.9.0
> Exiv2 can write to Jp2: Yes
> Exiv2 can write to Jpeg: Yes
> Exiv2 can write to Pgf: Yes
> Exiv2 can write to Png: Yes
> Exiv2 can write to Tiff: Yes
> Exiv2 supports XMP metadata: Yes
> LibCImg: 130
> LibClapack: external shared library
> LibExiv2: 0.21.1
> LibJPEG: 80
> LibJasper: 1.900.1
> LibKDE: 4.8.5 (4.8.5)
> LibKExiv2: 2.1.0
> LibKGeoMap: 2.0.0
> LibKdcraw: 2.0.1
> LibLCMS: 119
> LibLensFun: external shared library
> LibLqr: internal library
> LibPGF: 6.12.27 - external shared library
> LibPNG: 1.5.10
> LibQt: 4.8.2
> LibRaw: 0.14.4
> LibTIFF: LIBTIFF, Version 4.0.2 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc.
> Marble Widget: 0.13.4 (stable release)
> Parallelized PGF codec: No
> Parallelized demosaicing: Yes
> Database backend: QSQLITE
> LibGphoto2: 2.4.12
> LibKface: 2.0.0
> LibKipi: 1.3.0
> LibOpenCV: 2.3.1
> Libface: 0.2
-------------------------- >8 ------------------------------

Maybe this helps identifying an old library.


> ... so is there a possibility to turn
> on a debug mode such that I can see what happens when
> digikam tries to write the metadata? Or maybe a logfile?
> (Starting in console doesn't reveal anything)

To enable debug output: Start the programm "kdebugdialog",
search for "digikam" and select all checkboxes. Click "OK"
and start digikam from your terminal.

Applying title ("mytitle") and caption ("mycaption"), I get
the following debug output:
-------------------------- 8< ------------------------------
> digikam(3572)/digikam (core) Digikam::DMetadata::setImageTitles: "/home/user/pictures/Pow-img_1418.jpg"  ==> Title:  QMap(("x-default", CaptionValues::caption: "mytitle", CaptionValues::author: "", CaptionValues::date: QDateTime("")  ) )
> digikam(3572)/digikam (core) Digikam::DMetadata::setImageComments: "/home/user/pictures/Pow-img_1418.jpg"  ==> Comment:  QMap(("x-default", CaptionValues::caption: "mycaption", CaptionValues::author: "", CaptionValues::date: QDateTime("Do. Okt 11 09:50:17 2012")  ) )
> digikam(3572)/digikam (core) Digikam::DMetadata::setImageRating: Rating value to write is out of range!
> digikam(3572)/KEXIV2 KExiv2Iface::KExiv2::KExiv2Priv::saveToFile: File Extension:  "jpg"  is supported for writing mode
> digikam(3572)/digikam (core) Digikam::AlbumWatch::rescanDirectory: Detected change, triggering rescan of directory "/home/px79/daten/Bilder (private)/Fotos unsortiert/Incoming"
> digikam(3572)/digikam (core) Digikam::AlbumWatch::rescanDirectory: Detected change, triggering rescan of directory "/home/px79/daten/Bilder (private)/Fotos unsortiert/Incoming"
> digikam(3572)/digikam (core) Digikam::AlbumWatch::rescanDirectory: Detected change, triggering rescan of directory "/home/px79/daten/Bilder (private)/Fotos unsortiert/Incoming"
> digikam(3572)/digikam (core) Digikam::AlbumWatch::rescanDirectory: Detected change, triggering rescan of directory "/home/px79/daten/Bilder (private)/Fotos unsortiert/Incoming"
> digikam(3572)/digikam (core) Digikam::AlbumWatch::rescanDirectory: Detected change, triggering rescan of directory "/home/px79/daten/Bilder (private)/Fotos unsortiert/Incoming"
> digikam(3572)/KEXIV2 KExiv2Iface::KExiv2::save: Metadata for file ' Pow-img_1418.jpg ' written to file.
-------------------------- >8 ------------------------------

Regards,
	Peter



More information about the Digikam-users mailing list