Package | Description |
---|---|
ar.com.hjg.pngj |
PNGJ main package
|
Modifier and Type | Class and Description |
---|---|
class |
ChunkSeqBuffering
This loads the png as a plain sequence of chunks, buffering all
Useful to do things like insert or delete a ancilllary chunk.
|
class |
ChunkSeqReader
Consumes a stream of bytes that consist of a series of PNG-like chunks.
|
class |
ChunkSeqReaderPng
Adds to ChunkSeqReader the storing of PngChunk, with a PngFactory, and imageInfo + deinterlacer.
|
class |
ChunkSeqSkipping
This simple reader skips all chunks contents and stores the chunkRaw in a list.
|
Modifier and Type | Method and Description |
---|---|
int |
BufferedStreamFeeder.feed(IBytesConsumer consumer)
Feeds bytes to the consumer
Returns bytes actually consumed This should return 0 only if the stream is EOF or the consumer is done |
int |
BufferedStreamFeeder.feed(IBytesConsumer consumer,
int maxbytes)
Feeds the consumer (with at most maxbytes)
Returns 0 only if the stream is EOF (or maxbytes=0). |
long |
BufferedStreamFeeder.feedAll(IBytesConsumer consumer)
Feeds as much bytes as it can to the consumer, in a loop.
|
boolean |
BufferedStreamFeeder.feedFixed(IBytesConsumer consumer,
int nbytes)
Feeds exactly nbytes, retrying if necessary
|
Copyright © 2014. All rights reserved.