convert.hpp File Reference

Exif and IPTC conversions to and from XMP. More...

#include "config.h"
#include <string>

Namespaces

 Exiv2
 Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of the objects of this namespace.
 

Functions

EXIV2API void Exiv2::copyExifToXmp (const ExifData &exifData, XmpData &xmpData)
 Convert (copy) Exif tags to XMP properties.
 
EXIV2API void Exiv2::moveExifToXmp (ExifData &exifData, XmpData &xmpData)
 Convert (move) Exif tags to XMP properties, remove converted Exif tags.
 
EXIV2API void Exiv2::copyXmpToExif (const XmpData &xmpData, ExifData &exifData)
 Convert (copy) XMP properties to Exif tags.
 
EXIV2API void Exiv2::moveXmpToExif (XmpData &xmpData, ExifData &exifData)
 Convert (move) XMP properties to Exif tags, remove converted XMP properties.
 
EXIV2API void Exiv2::syncExifWithXmp (ExifData &exifData, XmpData &xmpData)
 Detect which metadata are newer and perform a copy in appropriate direction.
 
EXIV2API void Exiv2::copyIptcToXmp (const IptcData &iptcData, XmpData &xmpData, const char *iptcCharset=0)
 Convert (copy) IPTC datasets to XMP properties.
 
EXIV2API void Exiv2::moveIptcToXmp (IptcData &iptcData, XmpData &xmpData, const char *iptcCharset=0)
 Convert (move) IPTC datasets to XMP properties, remove converted IPTC datasets.
 
EXIV2API void Exiv2::copyXmpToIptc (const XmpData &xmpData, IptcData &iptcData)
 Convert (copy) XMP properties to IPTC datasets.
 
EXIV2API void Exiv2::moveXmpToIptc (XmpData &xmpData, IptcData &iptcData)
 Convert (move) XMP properties to IPTC tags, remove converted XMP properties.
 
EXIV2API bool Exiv2::convertStringCharset (std::string &str, const char *from, const char *to)
 Convert character encoding of str from from to to. If the function succeeds, str contains the result string. More...
 

Detailed Description

Exif and IPTC conversions to and from XMP.

Version
Rev
3091
Author
Andreas Huggel (ahu) ahuggel@gmx.net
Vladimir Nadvornik (vn) nadvornik@suse.cz
Date
17-Mar-08, ahu: created basic converter framework
20-May-08, vn: added actual conversion logic