ImageCodecInfo Class
An ImageCodecInfo object stores information about an image codec (encoder/decoder). GDI+ provides several built-in image codecs. You can obtain information about those codecs by calling the GetImageEncoders function and the GetImageDecoders function. Each of those functions returns an array of ImageCodecInfo objects, one for each available encoder or decoder.
An ImageCodecInfo object stores information about an image codec (encoder/decoder). GDI+ provides several built-in image codecs. You can obtain information about those codecs by calling the GetImageEncoders function and the GetImageDecoders function. Each of those functions returns an array of ImageCodecInfo objects, one for each available encoder or decoder.
ImageCodecInfo has the following types of members:
Data Members
The following table lists the members exposed by the ImageCodecInfo object.
Data Members | Type | Description |
---|---|---|
Clsid | CLSID | Codec identifier. |
FormatID | GUID | File format identifier. GUIDs that identify various file formats (ImageFormatBMP, ImageFormatEMF, and the like) are defined in Gdiplusimaging.h. |
CodecName | WCHAR * | Pointer to a null-terminated string that contains the codec name. |
DllName | WCHAR * | Pointer to a null-terminated string that contains the path name of the DLL in which the codec resides. If the codec is not in a DLL, this pointer is NULL. |
FormatDescription | WCHAR * | Pointer to a null-terminated string that contains the name of the file format used by the codec. |
FilenameExtension | WCHAR * | Pointer to a null-terminated string that contains all file-name extensions associated with the codec. The extensions are separated by semicolons. |
MimeType | WCHAR * | Pointer to a null-terminated string that contains the mime type of the codec. |
Flags | DWORD | Combination of flags from the ImageCodecFlags enumeration. |
Version | DWORD | Integer that indicates the version of the codec. |
SigCount | DWORD | Integer that indicates the number of signatures used by the file format associated with the codec. |
SigSize | DWORD | Integer that indicates the number of bytes in each signature. |
SigPattern | BYTE * | Pointer to an array of bytes that contains the pattern for each signature. |
SigMask | BYTE * | Pointer to an array of bytes that contains the mask for each signature. |
Requirements
Minimum supported client |
Windows XP, Windows 2000 Professional |
---|---|
Minimum supported server |
Windows 2000 Server |
Product |
GDI+ 1.0 |
Header |
|
Library |
|
'삽질' 카테고리의 다른 글
std::remove_if .... (0) | 2011.11.06 |
---|---|
image 포맷 변환. (0) | 2011.11.04 |
GetImageEncoders Function (0) | 2011.11.04 |
STL에서 동적할당 pointer 삭제 루틴. (0) | 2011.10.31 |
[ListCtrl] 아이템 외부 선택 - SetSelectionMark(), SetItemState(), SetFocus() (0) | 2011.10.15 |