Back to Devexpress

TdxSmartImageCodec Class

vcl-dxsmartimage-521c42d9.md

latest3.1 KB
Original Source

TdxSmartImageCodec Class

The base class for all image codec classes.

Declaration

delphi
TdxSmartImageCodec = class abstract(TObject)

Remarks

The TdxSmartImageCodec class implements common functionality for all image formats that DevExpress products use. All terminal TdxSmartImageCodec class descendants override all methods with image type-specific implementations.

Main API Members

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

Extensions | Description | MimeTypeReturn the implemented format description, associated MIME type, and file name extensions.CanLoadFromBitsAllows you to identify if the codec can load an image from pixel data.CanLoadStreamIdentifies whether 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.

Terminal TdxSmartImageCodec Class Descendants

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

TdxGPImageCodecBMPA Device-Independent Bitmap (BMP/DIB) image format codec.TdxGPImageCodecEMFAn Enhanced Windows Metafile (EMF) image format codec.TdxGPImageCodecGIFA Graphics Interchange Format (GIF) codec.TdxGPImageCodecJPEGA Joint Photographic Experts Group (JPEG) image format codec.TdxGPImageCodecPNGA Portable Network Graphics (PNG) image format codec.TdxGPImageCodecTIFFA Tagged Image File Format (TIFF) codec.TdxGPImageCodecWMFA Windows Metafile (WMF) image format codec.TdxSVGImageCodecA Scalable Vector Graphics (SVG) image format codec.

Inheritance

TObject TdxSmartImageCodec

See Also

TdxSmartImageCodecClass Type

TdxGPImageCodec Class

TdxSmartImageCodec Members

dxSmartImage Unit