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

TdxGPImageCodecGIF Class

A GIF image format codec.

Declaration

TdxGPImageCodecGIF = class(
    TdxGPImageCodec
)

Remarks

DevExpress products use this codec to work with images in the Graphics Interchange Format (GIF). The codec relies on the functionality of the native GIF encoder and decoder that Windows Imaging Component (WIC) provides.

The TdxGPImageCodecGIF class provides the following members that allow you to:

  • Obtain the GIF format description and the corresponding filename extension (Description and Extensions);

  • Identify if the specified stream contains a GIF image at the current position (CanLoadStream);

  • Read a GIF image’s dimensions from a stream (GetSize);

  • Obtain a deprecated image format ID that corresponds to the GIF image codec (ID);

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

You can assign a reference to the TdxGPImageCodecGIF class to a Smart Image container’s ImageCodec property to convert an image within the container to the GIF format.

Inheritance

See Also