TdxGPImageCodecBMP Class
A BMP image format codec.
Declaration
TdxGPImageCodecBMP = class(
TdxGPImageCodec
)
Remarks
DevExpress products use this codec to work with device-independent bitmap (that is, DIB or BMP) images. The codec relies on the functionality of the native BMP encoder and decoder that Windows Imaging Component (WIC) provides.
The TdxGPImageCodecBMP class provides the following class functions that allow you to:
Obtain the BMP format description and the corresponding filename extension (Description and Extensions).
Identify if a stream contains a BMP image at the current Position (CanLoadStream);
Read a BMP image dimensions from a stream (GetSize);
Obtain a deprecated image format ID that corresponds to the BMP image codec (ID);
You can assign a reference to the TdxGPImageCodecBMP class to a Smart Image container’s ImageCodec property to convert an image within the container to the BMP format.