Show: Delphi
C++
Display Preferences
FMX.Types.DefaultBitmapCodecClass
From XE2 API Documentation
Delphi
DefaultBitmapCodecClass: TBitmapCodecClass;
C++
extern PACKAGE TBitmapCodecClass DefaultBitmapCodecClass;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| variable | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | FMX.Types |
Description
DefaultBitmapCodecClass keeps the global codec class.
DefaultBitmapCodecClass keeps the current platform-specific image codec. It is initialized at startup.
The current platform-specific image codec is a subclass of TBitmapCodecClass. Each platform supports common formats like PNG and JPEG, and may support additional uncommon or platform-specific formats. For a list of formats supported by each platform, see TBitmapCodec.
Use DefaultBitmapCodecClass to create instances of the codec and to call class methods such as GetFileTypes.