vcl-dxgdiplusclasses-35fccade.md
A Device-Independent Bitmap (BMP/DIB) image format codec.
TdxGPImageCodecBMP = class(
TdxGPImageCodec
)
The TdxGPImageCodecBMP class implements the Device-Independent Bitmap (BMP or DIB) image format in DevExpress products. This codec relies on the functionality of the native BMP encoder from the Windows Imaging Component (WIC).
The list below outlines key members of the TdxGPImageCodecBMP class that allow you to perform basic operations with images.
Extensions | Description | MimeTypeReturn the BMP format description, associated MIME type, and file name extensions.CanLoadFromBitsAllows you to identify if the codec can load an image from pixel data.CanLoadStreamIdentifies the specified stream contains supported image data.GetSizeReturns dimensions of an image stored in a stream.CanSaveImageAllows you to check if the codec can save the specified image.Load | SaveLoad and save images.
You can assign a reference to the TdxGPImageCodecBMP class to a Smart Image container’s ImageCodec property to convert an image in the container to the BMP format.
TObject TdxSmartImageCodec TdxGPImageCodec TdxGPImageCodecBMP
See Also