Package | Description |
---|---|
ar.com.hjg.pngj |
PNGJ main package
|
Modifier and Type | Class and Description |
---|---|
class |
DeflatedChunkReader
Specialization of ChunkReader, for IDAT-like chunks.
|
Modifier and Type | Method and Description |
---|---|
protected ChunkReader |
ChunkSeqSkipping.createChunkReaderForNewChunk(String id,
int len,
long offset,
boolean skip) |
protected ChunkReader |
ChunkSeqReader.createChunkReaderForNewChunk(String id,
int len,
long offset,
boolean skip)
This will be called for all chunks (even skipped), except for IDAT-like non-skiped chunks
The default behaviour is to create a ChunkReader in BUFFER mode (or SKIP if skip==true) that calls
ChunkSeqReader.postProcessChunk(ChunkReader) (always) when done. |
ChunkReader |
ChunkSeqReader.getCurChunkReader()
Currently reading chunk, or just ended reading
|
Modifier and Type | Method and Description |
---|---|
protected void |
ChunkSeqSkipping.postProcessChunk(ChunkReader chunkR) |
protected void |
ChunkSeqReaderPng.postProcessChunk(ChunkReader chunkR) |
protected void |
ChunkSeqReader.postProcessChunk(ChunkReader chunkR)
This is called after a chunk is read, in all modes
This implementation only chenks the id of the first chunk, and process the IEND chunk (sets done=true)
Further processing should be overriden (call this first!)
|
Copyright © 2014. All rights reserved.