KExiv2

libKExiv2 is a wrapper around exiv2, providing read/write access to EXIF, IPTC and XMP metadata.

The main differences to exiv2 are:

  • Functions take standard Qt containers as parameters
  • Helper functions for GPS data
  • Transparent XMP sidecar support

To get started, have a look at the KExiv2Iface::KExiv2 class.

Using the Module

Using a KDE module's C++ API requires linking against the module library. The preferred way of consuming the library is through CMake.

Building with CMake

Use the find_package() command to locate the library:

find_package(KExiv2Qt6 REQUIRED)
target_link_libraries(mytarget PRIVATE KExiv2Qt6)

For more details, see the Build with CMake overview.

API Reference

Licenses

TODO