JXR Metadata

Nov 22, 2013 at 11:40 AM

How to get Metadata like EXIF, XMP? There is only method to write them...

Mar 26, 2014 at 1:05 AM
Just happened to find a way how to do this. Take a look at the ReadMetadata function in PluginJXR.cpp in the source bundle of the latest FreeImage release. The WmpDEMisc struct (pID->WMP.wmiDEMisc with pID being a PKImageDecode) contains offsets and lengths of the ICC, XMP, Exif and IPTC data if present. You can then read those byte ranges from the WMPStream.