Class TBGRAReaderPNG
Unit
Declaration
type TBGRAReaderPNG = class(TBGRAImageReader)
Description
Reader for PNG image format
Hierarchy
- TFPCustomImageReader
- TBGRAImageReader
- TBGRAReaderPNG
Overview
Fields
![]() |
Chunk: TChunk; |
![]() |
DataBytes: TColorData; |
![]() |
DataIndex: LongWord; |
![]() |
EndOfFile: boolean; |
![]() |
TransparentDataValue: TColorData; |
![]() |
UseTransparent: boolean; |
![]() |
UsingBitGroup: byte; |
Methods
![]() |
constructor Create; override; |
![]() |
destructor Destroy; override; |
![]() |
function GetBitmapDraft(AStream: TStream; AMaxWidth, AMaxHeight: integer; out AOriginalWidth,AOriginalHeight: integer): TBGRACustomBitmap; override; |
![]() |
function GetQuickInfo(AStream: TStream): TQuickImageInfo; override; |
![]() |
function CalcColor(const ScanLine : PByteArray): TColorData; |
![]() |
function DecideSetPixel: TSetPixelProc; virtual; |
![]() |
function InternalCheck(Str:TStream) : boolean; override; |
![]() |
procedure LoadFrame(AIndex: integer; AImage: TFPCustomImage); |
![]() |
procedure AssignPalette; |
![]() |
procedure AssignResolutionValues; |
![]() |
procedure BGRAHandleScanLine(const y: integer; const ScanLine: PByteArray); |
![]() |
procedure BGRAHandleScanLineTr(const y: integer; const ScanLine: PByteArray); |
![]() |
procedure DoDecompress(ACompressedData: TStream; AWidth, AHeight: integer); virtual; |
![]() |
procedure DoLoadImage(AImage: TFPCustomImage; AData: TStream; AWidth, AHeight: integer); virtual; |
![]() |
procedure HandleAlpha; virtual; |
![]() |
procedure HandleAnimationControl; virtual; |
![]() |
procedure HandleChunk; virtual; |
![]() |
procedure HandleData; virtual; |
![]() |
procedure HandleFrameControl; virtual; |
![]() |
procedure HandleFrameData; virtual; |
![]() |
procedure HandleGamma; virtual; |
![]() |
procedure HandlePalette; virtual; |
![]() |
procedure HandlePhysicalDimensions; virtual; |
![]() |
procedure HandleScanLine(const y : integer; const ScanLine : PByteArray); virtual; |
![]() |
procedure HandleStdRGB; virtual; |
![]() |
procedure HandleUnknown; virtual; |
![]() |
procedure InternalRead(Str:TStream; Img:TFPCustomImage); override; |
![]() |
procedure PredefinedResolutionValues; virtual; |
![]() |
procedure SetBGRAColorPixel(x,y:integer; const CD : TColordata); |
![]() |
procedure SetBGRAColorTrPixel(x,y:integer; const CD : TColordata); |
![]() |
procedure SetColorPixel(x,y:integer; const CD : TColordata); |
![]() |
procedure SetColorTrPixel(x,y:integer; const CD : TColordata); |
![]() |
procedure SetPalColPixel(x,y:integer; const CD : TColordata); |
![]() |
procedure SetPalettePixel(x,y:integer; const CD : TColordata); |
Properties
![]() |
property ConvertColor : TConvertColorProc read FConvertColor; |
![]() |
property CountScanlines : EightLong read FCountScanlines; |
![]() |
property CurrentPass : byte read FCurrentPass; |
![]() |
property FrameControl[AIndex: Integer]: TFrameControlChunk read GetFrameControl; |
![]() |
property FrameCount : integer read FFrameCount; |
![]() |
property Header : THeaderChunk read FHeader; |
![]() |
property Indexed : boolean read FIndexed; |
![]() |
property LoopCount : integer read FLoopCount; |
![]() |
property MainImageFrameIndex: integer read FMainImageFrameIndex; |
![]() |
property MinifyHeight: integer read FMinifyHeight write FMinifyHeight; |
![]() |
property OriginalHeight: integer read GetOriginalHeight; |
![]() |
property OriginalWidth: integer read GetOriginalWidth; |
![]() |
property ScanLineLength : EightLong read FScanLineLength; |
![]() |
property ThePalette : TFPPalette read FPalette; |
![]() |
property VerticalShrinkFactor: integer read GetVerticalShrinkFactor; |
Description
Fields
![]() |
Chunk: TChunk; |
This item has no description. |
![]() |
DataBytes: TColorData; |
This item has no description. |
![]() |
DataIndex: LongWord; |
This item has no description. |
![]() |
EndOfFile: boolean; |
This item has no description. |
![]() |
TransparentDataValue: TColorData; |
This item has no description. |
![]() |
UseTransparent: boolean; |
This item has no description. |
![]() |
UsingBitGroup: byte; |
This item has no description. |
Methods
![]() |
constructor Create; override; |
This item has no description. |
![]() |
destructor Destroy; override; |
This item has no description. |
![]() |
function GetBitmapDraft(AStream: TStream; AMaxWidth, AMaxHeight: integer; out AOriginalWidth,AOriginalHeight: integer): TBGRACustomBitmap; override; |
This item has no description. Showing description inherited from TBGRAImageReader.GetBitmapDraft. Return a draft of the bitmap, the ratio may change compared to the original width and height (useful to make thumbnails) |
![]() |
function GetQuickInfo(AStream: TStream): TQuickImageInfo; override; |
This item has no description. Showing description inherited from TBGRAImageReader.GetQuickInfo. Return bitmap information (size, bit depth) |
![]() |
function CalcColor(const ScanLine : PByteArray): TColorData; |
This item has no description. |
![]() |
function DecideSetPixel: TSetPixelProc; virtual; |
This item has no description. |
![]() |
function InternalCheck(Str:TStream) : boolean; override; |
This item has no description. |
![]() |
procedure LoadFrame(AIndex: integer; AImage: TFPCustomImage); |
This item has no description. |
![]() |
procedure AssignPalette; |
This item has no description. |
![]() |
procedure AssignResolutionValues; |
This item has no description. |
![]() |
procedure BGRAHandleScanLine(const y: integer; const ScanLine: PByteArray); |
This item has no description. |
![]() |
procedure BGRAHandleScanLineTr(const y: integer; const ScanLine: PByteArray); |
This item has no description. |
![]() |
procedure DoDecompress(ACompressedData: TStream; AWidth, AHeight: integer); virtual; |
This item has no description. |
![]() |
procedure DoLoadImage(AImage: TFPCustomImage; AData: TStream; AWidth, AHeight: integer); virtual; |
This item has no description. |
![]() |
procedure HandleAlpha; virtual; |
This item has no description. |
![]() |
procedure HandleAnimationControl; virtual; |
This item has no description. |
![]() |
procedure HandleChunk; virtual; |
This item has no description. |
![]() |
procedure HandleData; virtual; |
This item has no description. |
![]() |
procedure HandleFrameControl; virtual; |
This item has no description. |
![]() |
procedure HandleFrameData; virtual; |
This item has no description. |
![]() |
procedure HandleGamma; virtual; |
This item has no description. |
![]() |
procedure HandlePalette; virtual; |
This item has no description. |
![]() |
procedure HandlePhysicalDimensions; virtual; |
This item has no description. |
![]() |
procedure HandleScanLine(const y : integer; const ScanLine : PByteArray); virtual; |
This item has no description. |
![]() |
procedure HandleStdRGB; virtual; |
This item has no description. |
![]() |
procedure HandleUnknown; virtual; |
This item has no description. |
![]() |
procedure InternalRead(Str:TStream; Img:TFPCustomImage); override; |
This item has no description. |
![]() |
procedure PredefinedResolutionValues; virtual; |
This item has no description. |
![]() |
procedure SetBGRAColorPixel(x,y:integer; const CD : TColordata); |
This item has no description. |
![]() |
procedure SetBGRAColorTrPixel(x,y:integer; const CD : TColordata); |
This item has no description. |
![]() |
procedure SetColorPixel(x,y:integer; const CD : TColordata); |
This item has no description. |
![]() |
procedure SetColorTrPixel(x,y:integer; const CD : TColordata); |
This item has no description. |
![]() |
procedure SetPalColPixel(x,y:integer; const CD : TColordata); |
This item has no description. |
![]() |
procedure SetPalettePixel(x,y:integer; const CD : TColordata); |
This item has no description. |
Properties
![]() |
property ConvertColor : TConvertColorProc read FConvertColor; |
This item has no description. |
![]() |
property CountScanlines : EightLong read FCountScanlines; |
This item has no description. |
![]() |
property CurrentPass : byte read FCurrentPass; |
This item has no description. |
![]() |
property FrameControl[AIndex: Integer]: TFrameControlChunk read GetFrameControl; |
This item has no description. |
![]() |
property FrameCount : integer read FFrameCount; |
animation |
![]() |
property Header : THeaderChunk read FHeader; |
This item has no description. |
![]() |
property Indexed : boolean read FIndexed; |
This item has no description. |
![]() |
property LoopCount : integer read FLoopCount; |
This item has no description. |
![]() |
property MainImageFrameIndex: integer read FMainImageFrameIndex; |
This item has no description. |
![]() |
property MinifyHeight: integer read FMinifyHeight write FMinifyHeight; |
thumbnail reduction |
![]() |
property OriginalHeight: integer read GetOriginalHeight; |
This item has no description. |
![]() |
property OriginalWidth: integer read GetOriginalWidth; |
image format |
![]() |
property ScanLineLength : EightLong read FScanLineLength; |
This item has no description. |
![]() |
property ThePalette : TFPPalette read FPalette; |
This item has no description. |
![]() |
property VerticalShrinkFactor: integer read GetVerticalShrinkFactor; |
This item has no description. |