Using IImagingFactory to enumerate codec list

Download source code

The imaging interface IImagingFactory is used to create, load and manipulate images using image encoders and decoders (more on this later). We can enumerate the installed encoders and decoders using GetInstalledDecoders and GetInstalledEncoders methods. These methods returns an array of ImageCodecInfo structure. Here is a simple application that lists all the encoders and decoders installed on the mobile device.

Leave a Reply

Your email address will not be published. Required fields are marked *