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

TdxSmartImageCodec Class

The base class for all classes that implement all image format codecs that DevExpress products use.

Declaration

TdxSmartImageCodec = class abstract(TObject)

Remarks

This class provides the following class functions that allow you to:

  • Obtain a description of the codec’s image format and its corresponding filename extension (Description and Extensions);

  • Obtain pixel dimensions of an image stored in a stream (GetSize);

  • Identify if the codec can create an image from an array of pixel data (CanLoadFromBits);

  • Identify if the specified stream contains image data that the codec supports (CanLoadStream);

  • Check if the codec can save the specified image (CanSaveImage)

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

You do not need to create instances of the TdxSmartImageCodec class. Use its descendants instead.

Inheritance

TObject
TdxSmartImageCodec
See Also