I'm using IWICImagingFactory::CreateDecoderFromFilename
to load images using the Windows Imaging Component (WIC). It returns an IWICBitmapDecoder
that I can use to get the actual image data.
Is it also possible to get a human-readable string of the image loaded from WIC? E.g. something like "JPEG", "PNG", "GIF" etc.? I know I can use IWICBitmapDecoder::GetContainerFormat
to get the container format but it returns a GUID
instead of a human-readable string. So for the GIF format, I'm getting GUID_ContainerFormatGif
which is not exactly human-readable...
CodePudding user response: