Description | uses | Classes, Interfaces, Objects and Records | Functions and Procedures | Types | Constants | Variables |
Contains some helper functions for working with png images. Those functions are used by various png loaders.
Name | Description |
---|---|
packed record TPngChunk |
A record that represents a png chunk. |
Class EAdExtractPng |
Exception that is raised when you call the ExtractPng procedure, but no png data is found. |
procedure ExtractPng(Src, Dst : TStream); |
function IsPng(Src : TStream) : boolean; |
function PngConvertEndian(const AVal: LongWord):LongWord; |
PngSignature = #137#80#78#71#13#10#26#10; |
procedure ExtractPng(Src, Dst : TStream); |
Extracts a single png from the source stream and saves it to the destination stream. |
function IsPng(Src : TStream) : boolean; |
Returns true if the data in the stream is a png image. |
function PngConvertEndian(const AVal: LongWord):LongWord; |
Converts a the endian of a 32-Bit value. |
PngSignature = #137#80#78#71#13#10#26#10; |
The signature a png file is recognized by. |