Class TAvifReader
Unit
Declaration
type TAvifReader = class(TObject)
Description
Reader for AVIF images or animations (not derived from TFPCustomImageReader)
Hierarchy
- TObject
- TAvifReader
Overview
Fields
![]() |
FDecoder: PavifDecoder; |
![]() |
FDecoderWrap: TObject; |
![]() |
FHeight: uint32; |
![]() |
FImageDurationSeconds: double; |
![]() |
FImageDurationTimescales: UInt64; |
![]() |
FStream: TStream; |
![]() |
FStreamOwned: boolean; |
![]() |
FWidth: uint32; |
Methods
![]() |
constructor Create(AFileName: string); virtual; overload; |
![]() |
constructor Create(AStream: TStream; AStreamOwned: boolean = false); virtual; overload; |
![]() |
destructor Destroy; override; |
![]() |
class function CreateDecoder: PavifDecoder; |
![]() |
function GetNextImage(AOutBitmap: TBGRACustomBitmap): boolean; |
![]() |
function GetNthImage(AOutBitmap: TBGRACustomBitmap; AImageIndex: uint32): boolean; |
![]() |
function GetDecoder: avifCodecChoice; |
![]() |
class procedure DestroyDecoder(var ADecoder: PavifDecoder); |
![]() |
procedure Close; |
![]() |
procedure Init(AStream: TStream; AStreamOwned: boolean); |
![]() |
procedure SetDecoder(ACodec: avifCodecChoice); |
Properties
![]() |
property Decoder: avifCodecChoice read GetDecoder write SetDecoder; |
![]() |
property Height: uint32 read FHeight; |
![]() |
property ImageCount: uint32 read GetImageCount; |
![]() |
property ImageDurationSeconds: double read FImageDurationSeconds; |
![]() |
property ImageDurationTimescales: uint64 read FImageDurationTimescales; |
![]() |
property ImageIndex: integer read GetImageIndex; |
![]() |
property RepetitionCount: integer read GetRepetitionCount; |
![]() |
property SequenceDuration: double read GetSequenceDuration; |
![]() |
property Timescale: uint64 read GetTimescale; |
![]() |
property Width: uint32 read FWidth; |
Description
Fields
![]() |
FDecoder: PavifDecoder; |
This item has no description. |
![]() |
FDecoderWrap: TObject; |
This item has no description. |
![]() |
FHeight: uint32; |
This item has no description. |
![]() |
FImageDurationSeconds: double; |
This item has no description. |
![]() |
FImageDurationTimescales: UInt64; |
This item has no description. |
![]() |
FStream: TStream; |
TDecoderBase; |
![]() |
FStreamOwned: boolean; |
This item has no description. |
![]() |
FWidth: uint32; |
This item has no description. |
Methods
![]() |
constructor Create(AFileName: string); virtual; overload; |
call before unloading libavif |
![]() |
constructor Create(AStream: TStream; AStreamOwned: boolean = false); virtual; overload; |
This item has no description. |
![]() |
destructor Destroy; override; |
This item has no description. |
![]() |
class function CreateDecoder: PavifDecoder; |
This item has no description. |
![]() |
function GetNextImage(AOutBitmap: TBGRACustomBitmap): boolean; |
This item has no description. |
![]() |
function GetNthImage(AOutBitmap: TBGRACustomBitmap; AImageIndex: uint32): boolean; |
This item has no description. |
![]() |
function GetDecoder: avifCodecChoice; |
This item has no description. |
![]() |
class procedure DestroyDecoder(var ADecoder: PavifDecoder); |
This item has no description. |
![]() |
procedure Close; |
This item has no description. |
![]() |
procedure Init(AStream: TStream; AStreamOwned: boolean); |
This item has no description. |
![]() |
procedure SetDecoder(ACodec: avifCodecChoice); |
This item has no description. |
Properties
![]() |
property Decoder: avifCodecChoice read GetDecoder write SetDecoder; |
This item has no description. |
![]() |
property Height: uint32 read FHeight; |
This item has no description. |
![]() |
property ImageCount: uint32 read GetImageCount; |
This item has no description. |
![]() |
property ImageDurationSeconds: double read FImageDurationSeconds; |
This item has no description. |
![]() |
property ImageDurationTimescales: uint64 read FImageDurationTimescales; |
This item has no description. |
![]() |
property ImageIndex: integer read GetImageIndex; |
This item has no description. |
![]() |
property RepetitionCount: integer read GetRepetitionCount; |
This item has no description. |
![]() |
property SequenceDuration: double read GetSequenceDuration; |
This item has no description. |
![]() |
property Timescale: uint64 read GetTimescale; |
This item has no description. |
![]() |
property Width: uint32 read FWidth; |
This item has no description. |