Skip to main content

TdxSmartImageCodec Class

The base class for all image codec classes.

Declaration

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 | MimeType
Return the implemented format description, associated MIME type, and file name extensions.
CanLoadFromBits
Allows you to identify if the codec can load an image from pixel data.
CanLoadStream
Identifies whether the specified stream contains supported image data.
GetSize
Returns dimensions of an image stored in a stream.
CanSaveImage
Allows you to check if the codec can save the specified image.
Load | Save
Load and save images.

Terminal TdxSmartImageCodec Class Descendants

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

TdxGPImageCodecBMP
A Device-Independent Bitmap (BMP/DIB) image format codec.
TdxGPImageCodecEMF
An Enhanced Windows Metafile (EMF) image format codec.
TdxGPImageCodecGIF
A Graphics Interchange Format (GIF) codec.
TdxGPImageCodecJPEG
A Joint Photographic Experts Group (JPEG) image format codec.
TdxGPImageCodecPNG
A Portable Network Graphics (PNG) image format codec.
TdxGPImageCodecTIFF
A Tagged Image File Format (TIFF) codec.
TdxGPImageCodecWMF
A Windows Metafile (WMF) image format codec.
TdxSVGImageCodec
A Scalable Vector Graphics (SVG) image format codec.

Inheritance

TObject
TdxSmartImageCodec
See Also