vcl-dxsmartimage-521c42d9.md
The base class for all image codec classes.
TdxSmartImageCodec = class abstract(TObject)
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.
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.
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.
TObject TdxSmartImageCodec
See Also