Class TBGRAWriterPNG
Unit
Declaration
type TBGRAWriterPNG = class(TBGRACustomWriterPNG)
Description
Extends the TFPCustomImageWriter to write the PNG image format
Hierarchy
- TFPCustomImageWriter
- TBGRACustomWriterPNG
- TBGRAWriterPNG
Overview
Methods
![]() |
constructor Create; override; |
![]() |
destructor Destroy; override; |
![]() |
function ColorDataColorAB(color:TFPColor) : TColorData; |
![]() |
function ColorDataColorAW(color:TFPColor) : TColorData; |
![]() |
function ColorDataColorB(color:TFPColor) : TColorData; |
![]() |
function ColorDataColorW(color:TFPColor) : TColorData; |
![]() |
function ColorDataGrayAB(color:TFPColor) : TColorData; |
![]() |
function ColorDataGrayAW(color:TFPColor) : TColorData; |
![]() |
function ColorDataGrayB(color:TFPColor) : TColorData; |
![]() |
function ColorDataGrayW(color:TFPColor) : TColorData; |
![]() |
function CurrentLine(x:LongWord) : byte; inline; |
![]() |
function DecideGetPixel: TGetPixelFunc; virtual; |
![]() |
function DecideGetPixelBGRA: TGetPixelBGRAFunc; virtual; |
![]() |
function DetermineFilter(Current, Previous:PByteArray; linelength:LongWord):byte; virtual; |
![]() |
function DoFilter(LineFilter:byte;index:LongWord; b:byte) : byte; virtual; |
![]() |
function GetUseAlpha: boolean; override; |
![]() |
function PreviousLine(x:LongWord) : byte; inline; |
![]() |
function PrevLinePrevSample(x:LongWord): byte; inline; |
![]() |
function PrevSample(x:LongWord): byte; inline; |
![]() |
procedure AnimationWrite(AStream: TStream; AImage:TFPCustomImage; AAnimation: TPNGArrayOfFrameToWrite; ARepeatCount: integer = 0); |
![]() |
procedure DetermineHeader(var AHeader : THeaderChunk); virtual; |
![]() |
procedure FillScanLine(y : integer; ScanLine : pByteArray); virtual; |
![]() |
procedure InternalWrite(Str:TStream; Img:TFPCustomImage); override; |
![]() |
procedure SetChunkLength(aValue : LongWord); |
![]() |
procedure SetChunkType(ct : TChunkTypes); overload; |
![]() |
procedure SetChunkType(ct : TChunkCode); overload; |
![]() |
procedure SetUseAlpha(AValue: boolean); override; |
![]() |
procedure WriteacTL; virtual; |
![]() |
procedure WritefcTL(AIndex: integer); virtual; |
![]() |
procedure WritefdAT(AIndex: integer); virtual; |
![]() |
procedure WriteIDAT; virtual; |
![]() |
procedure WriteIEND; virtual; |
![]() |
procedure WriteIHDR; virtual; |
![]() |
procedure WriteImageData(AImage: TFPCustomImage; AImageDataChunkCode: TChunkCode); virtual; |
![]() |
procedure WritePLTE; virtual; |
![]() |
procedure WriteResolutionValues; virtual; |
![]() |
procedure WriteTexts; virtual; |
![]() |
procedure WritetRNS; virtual; |
Properties
![]() |
property byteWidth : byte read FByteWidth; |
![]() |
property ChunkDataBuffer : pByteArray read FChunk.data; |
![]() |
property ColorFormat : TColorformat read CFmt; |
![]() |
property ColorFormatFunc : TColorFormatFunction read FFmtColor; |
![]() |
property CompressedText : boolean read FCompressedText write FCompressedText; |
![]() |
property CompressionLevel : TCompressionLevel read FCompressionLevel write FCompressionLevel; |
![]() |
property CustomPalette: TFPPalette read FCustomPalette write FCustomPalette; |
![]() |
property DatalineLength : LongWord read FDatalineLength; |
![]() |
property GrayScale : boolean read FGrayscale write FGrayScale; |
![]() |
property Header : THeaderChunk read FHeader; |
![]() |
property Indexed : boolean read FIndexed write FIndexed; |
![]() |
property SingleTransparentColor : TFPColor read FTransparentColor; |
![]() |
property SingleTransparentColorOk : boolean read FTransparentColorOk; |
![]() |
property ThePalette : TFPPalette read FPalette; |
![]() |
property UsetRNS : boolean read FUsetRNS; |
![]() |
property WordSized : boolean read FWordSized write FWordSized; |
Description
Methods
![]() |
constructor Create; override; |
This item has no description. |
![]() |
destructor Destroy; override; |
This item has no description. |
![]() |
function ColorDataColorAB(color:TFPColor) : TColorData; |
This item has no description. |
![]() |
function ColorDataColorAW(color:TFPColor) : TColorData; |
This item has no description. |
![]() |
function ColorDataColorB(color:TFPColor) : TColorData; |
This item has no description. |
![]() |
function ColorDataColorW(color:TFPColor) : TColorData; |
This item has no description. |
![]() |
function ColorDataGrayAB(color:TFPColor) : TColorData; |
This item has no description. |
![]() |
function ColorDataGrayAW(color:TFPColor) : TColorData; |
This item has no description. |
![]() |
function ColorDataGrayB(color:TFPColor) : TColorData; |
This item has no description. |
![]() |
function ColorDataGrayW(color:TFPColor) : TColorData; |
This item has no description. |
![]() |
function CurrentLine(x:LongWord) : byte; inline; |
This item has no description. |
![]() |
function DecideGetPixel: TGetPixelFunc; virtual; |
This item has no description. |
![]() |
function DecideGetPixelBGRA: TGetPixelBGRAFunc; virtual; |
This item has no description. |
![]() |
function DetermineFilter(Current, Previous:PByteArray; linelength:LongWord):byte; virtual; |
This item has no description. |
![]() |
function DoFilter(LineFilter:byte;index:LongWord; b:byte) : byte; virtual; |
This item has no description. |
![]() |
function GetUseAlpha: boolean; override; |
This item has no description. Showing description inherited from TBGRACustomWriterPNG.GetUseAlpha. Gets whether or not to use the alpha channel |
![]() |
function PreviousLine(x:LongWord) : byte; inline; |
This item has no description. |
![]() |
function PrevLinePrevSample(x:LongWord): byte; inline; |
This item has no description. |
![]() |
function PrevSample(x:LongWord): byte; inline; |
This item has no description. |
![]() |
procedure AnimationWrite(AStream: TStream; AImage:TFPCustomImage; AAnimation: TPNGArrayOfFrameToWrite; ARepeatCount: integer = 0); |
This item has no description. |
![]() |
procedure DetermineHeader(var AHeader : THeaderChunk); virtual; |
This item has no description. |
![]() |
procedure FillScanLine(y : integer; ScanLine : pByteArray); virtual; |
This item has no description. |
![]() |
procedure InternalWrite(Str:TStream; Img:TFPCustomImage); override; |
This item has no description. |
![]() |
procedure SetChunkLength(aValue : LongWord); |
This item has no description. |
![]() |
procedure SetChunkType(ct : TChunkTypes); overload; |
This item has no description. |
![]() |
procedure SetChunkType(ct : TChunkCode); overload; |
This item has no description. |
![]() |
procedure SetUseAlpha(AValue: boolean); override; |
This item has no description. Showing description inherited from TBGRACustomWriterPNG.SetUseAlpha. Sets whether or not to use the alpha channel |
![]() |
procedure WriteacTL; virtual; |
This item has no description. |
![]() |
procedure WritefcTL(AIndex: integer); virtual; |
This item has no description. |
![]() |
procedure WritefdAT(AIndex: integer); virtual; |
This item has no description. |
![]() |
procedure WriteIDAT; virtual; |
This item has no description. |
![]() |
procedure WriteIEND; virtual; |
This item has no description. |
![]() |
procedure WriteIHDR; virtual; |
This item has no description. |
![]() |
procedure WriteImageData(AImage: TFPCustomImage; AImageDataChunkCode: TChunkCode); virtual; |
This item has no description. |
![]() |
procedure WritePLTE; virtual; |
This item has no description. |
![]() |
procedure WriteResolutionValues; virtual; |
This item has no description. |
![]() |
procedure WriteTexts; virtual; |
This item has no description. |
![]() |
procedure WritetRNS; virtual; |
This item has no description. |
Properties
![]() |
property byteWidth : byte read FByteWidth; |
This item has no description. |
![]() |
property ChunkDataBuffer : pByteArray read FChunk.data; |
This item has no description. |
![]() |
property ColorFormat : TColorformat read CFmt; |
This item has no description. |
![]() |
property ColorFormatFunc : TColorFormatFunction read FFmtColor; |
This item has no description. |
![]() |
property CompressedText : boolean read FCompressedText write FCompressedText; |
This item has no description. |
![]() |
property CompressionLevel : TCompressionLevel read FCompressionLevel write FCompressionLevel; |
This item has no description. |
![]() |
property CustomPalette: TFPPalette read FCustomPalette write FCustomPalette; |
This item has no description. |
![]() |
property DatalineLength : LongWord read FDatalineLength; |
This item has no description. |
![]() |
property GrayScale : boolean read FGrayscale write FGrayScale; |
loop count (0 for infinite loop) |
![]() |
property Header : THeaderChunk read FHeader; |
This item has no description. |
![]() |
property Indexed : boolean read FIndexed write FIndexed; |
This item has no description. |
![]() |
property SingleTransparentColor : TFPColor read FTransparentColor; |
This item has no description. |
![]() |
property SingleTransparentColorOk : boolean read FTransparentColorOk; |
This item has no description. |
![]() |
property ThePalette : TFPPalette read FPalette; |
This item has no description. |
![]() |
property UsetRNS : boolean read FUsetRNS; |
This item has no description. |
![]() |
property WordSized : boolean read FWordSized write FWordSized; |
This item has no description. |