Structure IGDIPlus.TGPImageCodecInfo
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
Revision as of 20:45, 30 October 2012
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabBasicPkg
Unit: IGDIPlus
Contents |
Syntax
Delphi:
type TGPImageCodecInfo = record
C++ Builder:
struct TGPImageCodecInfo
Visual C++ (MFC):
struct CTGPImageCodecInfo
C# (.NET):
public struct ImageCodecInfo
Summary
Stores information about an image codec (encoder/decoder).
Description
Defines a structure that 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 TGPImageCodecInfo objects, one for each available encoder or decoder.
Fields
- Clsid - Codec identifier.
- FormatID - File format identifier.
- CodecName - Pointer to a null-terminated string that contains the codec name.
- DllName - 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 NIL.
- FormatDescription - Pointer to a null-terminated string that contains the name of the file format used by the codec.
- FilenameExtension - Pointer to a null-terminated string that contains all file-name extensions associated with the codec. The extensions are separated by semicolons.
- MimeType - Pointer to a null-terminated string that contains the mime type of the codec.
- Flags - Combination of flags from the TGPImageCodecFlags enumeration.
- Version - Integer that indicates the version of the codec.
- SigCount - Integer that indicates the number of signatures used by the file format associated with the codec.
- SigSize - Integer that indicates the number of bytes in each signature.
- SigPattern - Pointer to an array of bytes that contains the pattern for each signature.
- SigMask - Pointer to an array of bytes that contains the mask for each signature.