JXR Metadata

Nov 22, 2013 at 12:40 PM
Hi,

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

Thanks
Mar 26, 2014 at 2: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.