Re: [gexiv2] Getting raw Exif, XMP or IPTC data



Jim,

thanks for your reply. There are static void Exiv2::ExifParser::encode, static int Exiv2::XmpParser::encode and static DataBuf Exiv2::IptcParser::encode. I have not verified yet if the representations they output are exactly the formats I need but the function descriptions sound promising.

I am writing a file format plugin for GIMP 2.10 and would like to include support for saving metadata. For this purpose I need to get the Exif, XMP and IPTC metadata in their usual binary/textual representation.

-- Christoph

Von: Jim Nelson
Gesendet: ‎Donnerstag‎, ‎27‎. ‎März‎ ‎2014 ‎20‎:‎04
An: Christoph Hausner
Cc: gexiv2-list gnome org

I don't believe Exiv2 offers this.  If it does, then we could expose that in gexiv2, but the first step is finding such a call in Exiv2.

Looking here and searching around (in particular, ExifData, XmpData, and IptcDate), I don't see any indication that's available:


You might consider filing a ticket with Exiv2 to offer that kind of functionality.

This might be of interest to you:


-- Jim

On Wed, Mar 26, 2014 at 3:39 PM, Christoph Hausner <christoph_hausner hotmail de> wrote:
Hi,

is there any way to get the raw Exif, XMP or IPTC metadata as opposed to every single tag? What I mean is the Exif representation as IFD tags and the XMP metadata as XML document. gexiv2_metadata_get_xmp_packet sounds interesting but it just returns an empty string for me.

Any advice?
Thanks

-- Christoph


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]