TdxGPImageCodecGIF Class
A Graphics Interchange Format (GIF) codec.
#Declaration
TdxGPImageCodecGIF = class(
TdxGPImageCodec
)
#Remarks
The TdxGPImageCodecGIF
class implements the Graphics Interchange Format (GIF) in DevExpress products. This codec relies on the functionality of the native GIF encoder from the Windows Imaging Component (WIC).
#Main API Members
The list below outlines key members of the TdxGPImageCodecGIF
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.
#TdxGPImageCodecGIF Class References
You can assign a reference to the TdxGPImageCodecGIF
class to a Smart Image container’s ImageCodec property to convert an image in the container to the GIF format.