Skip to main content

TdxGPImageCodec Class

The base class for all bitmap codec classes.

Declaration

TdxGPImageCodec = class(
    TdxSmartImageCodec
)

Remarks

The TdxGPImageCodec class implements common functionality for all bitmap image formats that DevExpress products use. All TdxGPImageCodec class descendants rely on the functionality of native image format encoders from the Windows Imaging Component (WIC).

Main API Members

The list below outlines key members of the TdxGPImageCodec class that allow you to perform basic operations with bitmap images.

Extensions | Description | MimeType
Return the implemented format description, associated MIME type, and file name extensions.
CanLoadFromBits
Allows you to identify if the codec can load an image from pixel data.
CanLoadStream
Identifies whether the specified stream contains supported image data.
GetSize
Returns dimensions of an image stored in a stream.
CanSaveImage
Allows you to check if the codec can save the specified image.
Load | Save
Load and save images.

Terminal TdxGPImageCodec Class Descendants

Do not use the TdxGPImageCodec class directly. Use the following descendants instead:

TdxGPImageCodecBMP
A Device-Independent Bitmap (BMP/DIB) image format codec.
TdxGPImageCodecEMF
An Enhanced Windows Metafile (EMF) image format codec.
TdxGPImageCodecGIF
A Graphics Interchange Format (GIF) codec.
TdxGPImageCodecJPEG
A Joint Photographic Experts Group (JPEG) image format codec.
TdxGPImageCodecPNG
A Portable Network Graphics (PNG) image format codec.
TdxGPImageCodecTIFF
A Tagged Image File Format (TIFF) codec.
TdxGPImageCodecWMF
A Windows Metafile (WMF) image format codec.

Inheritance

See Also