FMX.Graphics.TCustomBitmapCodec
Delphi
TCustomBitmapCodec = class abstract
C++
class PASCALIMPLEMENTATION TCustomBitmapCodec : public System::TObject
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| class | public | FMX.Graphics.pas FMX.Graphics.hpp  | 
        FMX.Graphics | FMX.Graphics | 
Description
TCustomBitmapCodec is the base class for the system TBitmap encoder/decoder.
TCustomBitmapCodec offers support for TBitmap encoding and decoding codecs for different platforms (GDI+, Direct2D on Windows, OS X, iOS).
TCustomBitmapCodec is used to create a filter when saving or loading a TBitmap.
Note: A bitmap codec is a method of compressing and decompressing image files or image data. The word "codecs" means coders and decoders.
Supported Image Formats
Image formats supported on all platforms:
- JPEG (.jpeg, .jpg)
 - PNG
 
Additional formats with Direct2D on Windows:
- TIFF(.tiff, .tif)
 - BMP
 - GIF
 - WMP
 - ICO
 
Additional formats on OS X:
- JPEG 2000 (.jp2)
 - TIFF(.tif, .tiff)
 - GIF
 - TGA
 - ICNS