Class TBGRAReaderPSD

Unit

Declaration

type TBGRAReaderPSD = class(TFPReaderPSD)

Description

Reader for Photoshop image format

Hierarchy

Overview

Fields

Protected FInputLine: array of record StreamOffset: Int64; Size: PtrInt; end;
Protected FOutputHeight: integer;
Protected FScanLines: array of PByte;
Public MinifyHeight: integer;
Public WantedHeight: integer;

Methods

Public constructor Create; override;
Protected function InternalCheck(Stream: TStream) : boolean; override;
Protected function ReadPalette(Stream: TStream): boolean;
Protected function ReadScanLine(Stream: TStream; AInputSize: PtrInt; AChannel: integer): boolean; overload;
Protected procedure AnalyzeHeader;
Protected procedure InternalRead(Stream: TStream; Img: TFPCustomImage); override;
Protected procedure ReadResourceBlockData(Img: TFPCustomImage; blockID:Word; blockName:ShortString; Size:LongWord; Data:Pointer); virtual;
Protected procedure WriteScanLine(Img: TFPCustomImage; Row: integer); overload;

Properties

Public property Compressed: Boolean read FCompressed;
Public property OutputHeight: integer read FOutputHeight;

Description

Fields

Protected FInputLine: array of record StreamOffset: Int64; Size: PtrInt; end;

This item has no description.

Protected FOutputHeight: integer;

This item has no description.

Protected FScanLines: array of PByte;

This item has no description.

Public MinifyHeight: integer;

This item has no description.

Public WantedHeight: integer;

This item has no description.

Methods

Public constructor Create; override;

This item has no description.

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

This item has no description.

Protected function ReadPalette(Stream: TStream): boolean;

This item has no description.

Protected function ReadScanLine(Stream: TStream; AInputSize: PtrInt; AChannel: integer): boolean; overload;

This item has no description.

Protected procedure AnalyzeHeader;

This item has no description.

Protected procedure InternalRead(Stream: TStream; Img: TFPCustomImage); override;

This item has no description.

Protected procedure ReadResourceBlockData(Img: TFPCustomImage; blockID:Word; blockName:ShortString; Size:LongWord; Data:Pointer); virtual;

This item has no description.

Protected procedure WriteScanLine(Img: TFPCustomImage; Row: integer); overload;

This item has no description.

Properties

Public property Compressed: Boolean read FCompressed;

This item has no description.

Public property OutputHeight: integer read FOutputHeight;

This item has no description.