Skip to main content
A newer version of this page is available. .

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);

  • Persist a BMP image in a stream (Load and Save).

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.

Inheritance

See Also