Class TBGRAReaderTiff

Unit

Declaration

type TBGRAReaderTiff = class(TFPCustomImageReader)

Description

Reader for TIFF format

Hierarchy

Overview

Fields

Public ImageList: TFPList;

Methods

Public constructor Create; override;
Public destructor Destroy; override;
Public function FirstImg: TTiffIFD;
Public function GetBiggestImage: TTiffIFD;
Public function ImageCount: integer;
Protected function InternalCheck(Str: TStream): boolean; override;
Public procedure Clear;
Public procedure LoadFromStream(aStream: TStream; AutoClear: boolean = true);
Public procedure LoadHeaderFromStream(aStream: TStream);
Public procedure LoadIFDsFromStream;
Public procedure LoadImageFromStream(Index: integer);
Public procedure LoadImageFromStream(IFD: TTiffIFD);
Public procedure ReleaseStream;
Protected procedure DoCreateImage(ImgFileDir: TTiffIFD); virtual;
Protected procedure InternalRead(Str: TStream; AnImage: TFPCustomImage); override;

Properties

Public property CheckIFDOrder: TTiffCheckIFDOrder read FCheckIFDOrder write FCheckIFDOrder;
Public property FirstIFDStart: LongWord read FFirstIFDStart;
Public property Images[Index: integer]: TTiffIFD read GetImages;
Public property OnCreateImage: TTiffCreateCompatibleImgEvent read FOnCreateImage write FOnCreateImage;
Public property StartPos: int64 read fStartPos;
Public property TheStream: TStream read s;

Description

Fields

Public ImageList: TFPList;

advanced

Methods

Public constructor Create; override;

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public function FirstImg: TTiffIFD;

check order of IFD entries or not

Public function GetBiggestImage: TTiffIFD;

This item has no description.

Public function ImageCount: integer;

This item has no description.

Protected function InternalCheck(Str: TStream): boolean; override;

This item has no description.

Public procedure Clear;

This item has no description.

Public procedure LoadFromStream(aStream: TStream; AutoClear: boolean = true);

This item has no description.

Public procedure LoadHeaderFromStream(aStream: TStream);

list of TTiffIFD

Public procedure LoadIFDsFromStream;

This item has no description.

Public procedure LoadImageFromStream(Index: integer);

call LoadHeaderFromStream before

Public procedure LoadImageFromStream(IFD: TTiffIFD);

call LoadIFDsFromStream before

Public procedure ReleaseStream;

call LoadIFDsFromStream before

Protected procedure DoCreateImage(ImgFileDir: TTiffIFD); virtual;

This item has no description.

Protected procedure InternalRead(Str: TStream; AnImage: TFPCustomImage); override;

This item has no description.

Properties

Public property CheckIFDOrder: TTiffCheckIFDOrder read FCheckIFDOrder write FCheckIFDOrder;

This item has no description.

Public property FirstIFDStart: LongWord read FFirstIFDStart;

This item has no description.

Public property Images[Index: integer]: TTiffIFD read GetImages;

This item has no description.

Public property OnCreateImage: TTiffCreateCompatibleImgEvent read FOnCreateImage write FOnCreateImage;

load all images (you need to handle OnCreateImage event and assign ImgFileDir.Img)

Public property StartPos: int64 read fStartPos;

This item has no description.

Public property TheStream: TStream read s;

This item has no description.