3

I know from the format specifications that HEIF files have Image Properties that can denote spacial extent ('ispe'), color information ('colr'), pixel information ('pixi'), etc.

Is it possible to directly access those properties using WIC?

I am able to access EXIF and IFD metadata tags (if they are present in the file) using GetMetadataByName, and to get at the size info and pixel format by getting the frame out, but I am not sure if there is any way to use WIC to explicitely read out these "Descriptive Item Properties" as defined by HEIF format.

krisfed
  • 31
  • 2
  • Do you have an example image that has those metadata for sure? Note it depends from the wic HEIF decoder component. You can install a 3rd party wic HEIF decoder that could do it, independently from what Windows provides out-of-the-box – Simon Mourier May 04 '19 at 06:51
  • Reading the specs I was assuming all images are supposed to have these, but you are right - looks like only 'ispe' is mandatory. Yeah it definitely is starting to look like these properties are too HEIF-specific to be explicitely accessible by WIC. – krisfed May 20 '19 at 14:08
  • 1
    Check out WICExplorer, which is from the WIC team at Microsoft, to see if WIC can do this. If WICExplorer can do it, then so can you. https://code.msdn.microsoft.com/windowsapps/Windows-Imaging-Component-6cfa1857 – Rick Brewster Jun 23 '19 at 18:51

0 Answers0