Group: GDI+ - Library: gdiplus
The GetImageEncoders function gets an array of ImageCodecInfo objects that contain information about the available image encoders.
GDI+: retrieving list of available image encoders and image decoders
Status GetImageEncoders(
UINT numEncoders,
UINT size,
ImageCodecInfo *encoders
); DECLARE INTEGER GdipGetImageEncoders IN gdiplus;
INTEGER numEncoders,;
INTEGER sze,;
STRING @ encoders
numEncoders [in] Integer that specifies the number of available image encoders.
size [in] Integer that specifies the size, in bytes, of the array of ImageCodecInfo objects.
encoders [out] Pointer to a buffer that receives the array of ImageCodecInfo objects.
If the function succeeds, it returns Ok (0), which is an element of the Status enumeration.
Prior to calling this function call GdipGetImageEncodersSize to determine numEncoders and size parameters.
Home