Description | uses | Classes, Interfaces, Objects and Records | Functions and Procedures | Types | Constants | Variables |
Provides an image class to load and save PNG files.
Name | Description |
---|---|
Class EAdPNGInvalidHeaderBytes |
|
Class EAdPNGInvalidFileException |
|
Class EAdPNGBrokenChunk |
|
Class EAdPNGUnsupportedFormatException |
|
Class EAdPNGUnknownChunkException |
|
packed record TAdPNGChunk |
|
packed record TAdPNGHeader |
|
record TAdPNGAdam7Pass |
|
Class TAdPNGImage |
TAdPNGColorType = set of (pctPalette = 0, pctColor = 1, pctAlpha = 2); |
TAdPNGCompressionMethod = (...); |
TAdPNGFilterMethod = (...); |
TAdPNGInterlaceMethod = (...); |
TAdPNGFilterType = (...); |
PAdPNGHeader = ˆTAdPNGHeader; |
TAdPNGPalette = array of TRGBARec; |
TAdPNGScanline = array of Byte; |
TAdPNGSample = Byte; |
TAdPNGSamples = array of TAdPNGSample; |
TAdPNGLine = array of TRGBARec; |
TAdPNGPixels = array of array of TRGBARec; |
HIGH_COLORS: array[0..31] of Byte =
(0, 8, 16, 25, 33, 41, 49, 58, 66, 74, 82, 90, 99, 107, 115, 123, 132,
140, 148, 156, 165, 173, 181, 189, 197, 206, 214, 222, 230, 239, 247, 255); |
UPSAMPLING_TABLE_1BIT: array[0..1] of Byte = (0, 255); |
UPSAMPLING_TABLE_2BIT: array[0..3] of Byte = (0, 85, 170, 255); |
UPSAMPLING_TABLE_4BIT: array[0..15] of Byte =
(0, 17, 34, 51, 68, 85, 102, 119, 136, 153, 170, 187, 204, 221, 238, 255); |
BITMASKS: array[1..4] of Byte = ($01, $03, $07, $0F); |
HEADERBYTES: AnsiString = #$89#$50#$4E#$47#$0D#$A#$1A#$0A; |
ADAM7PASSES: array[1..7] of TAdPNGAdam7Pass =
(
(XOffset: 0; YOffset: 0; XSkip: 8; YSkip: 8),
(XOffset: 4; YOffset: 0; XSkip: 8; YSkip: 8),
(XOffset: 0; YOffset: 4; XSkip: 4; YSkip: 8),
(XOffset: 2; YOffset: 0; XSkip: 4; YSkip: 4),
(XOffset: 0; YOffset: 2; XSkip: 2; YSkip: 4),
(XOffset: 1; YOffset: 0; XSkip: 2; YSkip: 2),
(XOffset: 0; YOffset: 1; XSkip: 1; YSkip: 2)
); |
TAdPNGColorType = set of (pctPalette = 0, pctColor = 1, pctAlpha = 2); |
TAdPNGCompressionMethod = (...); |
Values
|
TAdPNGFilterMethod = (...); |
Values
|
TAdPNGInterlaceMethod = (...); |
Values
|
TAdPNGFilterType = (...); |
Values
|
PAdPNGHeader = ˆTAdPNGHeader; |
TAdPNGPalette = array of TRGBARec; |
TAdPNGScanline = array of Byte; |
TAdPNGSample = Byte; |
TAdPNGSamples = array of TAdPNGSample; |
TAdPNGLine = array of TRGBARec; |
TAdPNGPixels = array of array of TRGBARec; |
HIGH_COLORS: array[0..31] of Byte =
(0, 8, 16, 25, 33, 41, 49, 58, 66, 74, 82, 90, 99, 107, 115, 123, 132,
140, 148, 156, 165, 173, 181, 189, 197, 206, 214, 222, 230, 239, 247, 255); |
UPSAMPLING_TABLE_1BIT: array[0..1] of Byte = (0, 255); |
UPSAMPLING_TABLE_2BIT: array[0..3] of Byte = (0, 85, 170, 255); |
UPSAMPLING_TABLE_4BIT: array[0..15] of Byte =
(0, 17, 34, 51, 68, 85, 102, 119, 136, 153, 170, 187, 204, 221, 238, 255); |
BITMASKS: array[1..4] of Byte = ($01, $03, $07, $0F); |
HEADERBYTES: AnsiString = #$89#$50#$4E#$47#$0D#$A#$1A#$0A; |
ADAM7PASSES: array[1..7] of TAdPNGAdam7Pass =
(
(XOffset: 0; YOffset: 0; XSkip: 8; YSkip: 8),
(XOffset: 4; YOffset: 0; XSkip: 8; YSkip: 8),
(XOffset: 0; YOffset: 4; XSkip: 4; YSkip: 8),
(XOffset: 2; YOffset: 0; XSkip: 4; YSkip: 4),
(XOffset: 0; YOffset: 2; XSkip: 2; YSkip: 4),
(XOffset: 1; YOffset: 0; XSkip: 2; YSkip: 2),
(XOffset: 0; YOffset: 1; XSkip: 1; YSkip: 2)
); |