Свойство | Type | Description | |
---|---|---|---|
interlaced | bool |
Свойство | Type | Description | |
---|---|---|---|
crctest | Hjg.Pngcs.Zlib.Adler32 | ||
filename | String | ||
imgLine | Hjg.Pngcs.ImageLine | ||
rowNum | int | ||
rowb | byte[] | ||
rowbfilter | byte[] | ||
rowbprev | byte[] |
Méthode | Description | |
---|---|---|
End ( ) : void |
Normally this does nothing, but it can be used to force a premature closing
|
|
GetChunksList ( ) : Hjg.Pngcs.Chunks.ChunksList |
Returns the ancillary chunks available If the rows have not yet still been read, this includes only the chunks placed before the pixels (IDAT) |
|
GetMetadata ( ) : Hjg.Pngcs.Chunks.PngMetadata |
Returns the ancillary chunks available see GetChunksList |
|
IsInterlaced ( ) : bool | ||
IsUnpackedMode ( ) : bool | ||
PngReader ( Stream inputStream ) : System |
Constructs a PngReader from a Stream, with no filename information
|
|
PngReader ( Stream inputStream, String filename ) : System |
Constructs a PNGReader objet from a opened Stream The constructor reads the signature and first chunk (IDHR)FileHelper.CreatePngReader(string) |
|
ReadRow ( int nrow ) : Hjg.Pngcs.ImageLine |
reads the row using ImageLine as buffer
|
|
ReadRow ( int buffer, int nrow ) : int[] | ||
ReadRowByte ( int nrow ) : Hjg.Pngcs.ImageLine | ||
ReadRowByte ( byte buffer, int nrow ) : byte[] | ||
ReadRowInt ( int nrow ) : Hjg.Pngcs.ImageLine | ||
ReadRowInt ( int buffer, int nrow ) : int[] | ||
ReadRowsByte ( ) : Hjg.Pngcs.ImageLines | ||
ReadRowsByte ( int rowOffset, int nRows, int rowStep ) : Hjg.Pngcs.ImageLines | ||
ReadRowsInt ( ) : Hjg.Pngcs.ImageLines | ||
ReadRowsInt ( int rowOffset, int nRows, int rowStep ) : Hjg.Pngcs.ImageLines | ||
ReadSkippingAllRows ( ) : void | ||
SetCrcCheckDisabled ( ) : void | ||
SetUnpackedMode ( bool unPackedMode ) : void | ||
ToString ( ) : String |
Méthode | Description | |
---|---|---|
Close ( ) : void | ||
FirstChunksNotYetRead ( ) : bool | ||
GetCrctestVal ( ) : long | ||
GetRow ( int nrow ) : Hjg.Pngcs.ImageLine | ||
InitCrctest ( ) : void | ||
ReadChunk ( byte chunkid, int clen, bool skipforced ) : PngChunk |
Reads chunkd from input stream, adds to ChunksList, and returns it. If it's skipped, a PngChunkSkipped object is created
|
|
ReadFirstChunks ( ) : void |
Reads chunks before first IDAT. Position before: after IDHR (crc included) Position after: just after the first IDAT chunk id Returns length of first IDAT chunk , -1 if not found
|
|
ReadLastAndClose ( ) : void |
Internally called after having read the last line. It reads extra chunks after IDAT, if present.
|
|
ReadLastChunks ( ) : void |
Reads (and processes ... up to a point) chunks after last IDAT.
|
|
ReadRowRaw ( int nrow ) : int | ||
UnfilterRow ( int nbytes ) : void | ||
UnfilterRowAverage ( int nbytes ) : void | ||
UnfilterRowNone ( int nbytes ) : void | ||
UnfilterRowPaeth ( int nbytes ) : void | ||
UnfilterRowSub ( int nbytes ) : void | ||
UnfilterRowUp ( int nbytes ) : void | ||
decodeLastReadRowToByte ( byte buffer, int bytesRead ) : void | ||
decodeLastReadRowToInt ( int buffer, int bytesRead ) : void | ||
logWarn ( String warn ) : void |
Logs/prints a warning. The default behaviour is print to stderr, but it can be overriden. This happens rarely - most errors are fatal. |
public GetChunksList ( ) : Hjg.Pngcs.Chunks.ChunksList | ||
Résultat | Hjg.Pngcs.Chunks.ChunksList |
public GetMetadata ( ) : Hjg.Pngcs.Chunks.PngMetadata | ||
Résultat | Hjg.Pngcs.Chunks.PngMetadata |
public PngReader ( Stream inputStream ) : System | ||
inputStream | Stream | |
Résultat | System |
public PngReader ( Stream inputStream, String filename ) : System | ||
inputStream | Stream | |
filename | String | Optional, can be the filename or a description. |
Résultat | System |
public ReadRow ( int nrow ) : Hjg.Pngcs.ImageLine | ||
nrow | int | row number - just as a check |
Résultat | Hjg.Pngcs.ImageLine |
public ReadRow ( int buffer, int nrow ) : int[] | ||
buffer | int | |
nrow | int | |
Résultat | int[] |
public ReadRowByte ( int nrow ) : Hjg.Pngcs.ImageLine | ||
nrow | int | |
Résultat | Hjg.Pngcs.ImageLine |
public ReadRowByte ( byte buffer, int nrow ) : byte[] | ||
buffer | byte | |
nrow | int | |
Résultat | byte[] |
public ReadRowInt ( int nrow ) : Hjg.Pngcs.ImageLine | ||
nrow | int | |
Résultat | Hjg.Pngcs.ImageLine |
public ReadRowInt ( int buffer, int nrow ) : int[] | ||
buffer | int | |
nrow | int | |
Résultat | int[] |
public ReadRowsByte ( ) : Hjg.Pngcs.ImageLines | ||
Résultat | Hjg.Pngcs.ImageLines |
public ReadRowsByte ( int rowOffset, int nRows, int rowStep ) : Hjg.Pngcs.ImageLines | ||
rowOffset | int | |
nRows | int | |
rowStep | int | |
Résultat | Hjg.Pngcs.ImageLines |
public ReadRowsInt ( ) : Hjg.Pngcs.ImageLines | ||
Résultat | Hjg.Pngcs.ImageLines |
public ReadRowsInt ( int rowOffset, int nRows, int rowStep ) : Hjg.Pngcs.ImageLines | ||
rowOffset | int | |
nRows | int | |
rowStep | int | |
Résultat | Hjg.Pngcs.ImageLines |
public SetUnpackedMode ( bool unPackedMode ) : void | ||
unPackedMode | bool | |
Résultat | void |
protected Adler32,Hjg.Pngcs.Zlib crctest | ||
Résultat | Hjg.Pngcs.Zlib.Adler32 |