I am currently using the IWICImagingFactory api call CreateDecoderFromFilename which takes a file name to create a decoder. However, I have the file already loaded into an array and want to use that. Does anyone have any idea how to do that? The API seems a tiny bit obscure.
I am currently using the IWICImagingFactory api call CreateDecoderFromFilename which takes a file name
Share
It sounds like you want to use
SHCreateMemStreamto create anIStreaminterface to your memory buffer, then useIWICImagingFactory::CreateDecoderFromStreamto create a decoder from that stream.