Package ar.com.hjg.pngj.chunks

Contains the code related to chunk management for the PNGJ library.

See:
          Description

Interface Summary
ChunkPredicate Decides if another chunk "matches", according to some criterion
 

Class Summary
ChunkCopyBehaviour Chunk copy policy to apply when copyng from a pngReader to a pngWriter http://www.w3.org/TR/PNG/#14 These are masks, can be OR-ed
ChunkHelper  
ChunkRaw Raw (physical) chunk Short lived object, to be created while serialing/deserializing Do not reuse it for different chunks see http://www.libpng.org/pub/png/spec/1.2/PNG-Structure.html
ChunksList All chunks that form an image, read or to be written chunks include all chunks, but IDAT is a single pseudo chunk without data
ChunksListForWrite  
PngChunk Represents a instance of a PNG chunk See http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks .html Concrete classes should extend PngChunkSingle or PngChunkMultiple Note that some methods/fields are type-specific (getOrderingConstraint(), allowsMultiple()),
some are 'almost' type-specific (id,crit,pub,safe; the exception is PngUKNOWN),
and the rest are instance-specific
PngChunkBKGD bKGD CHUnk http://www.w3.org/TR/PNG/#11bKGD this chunk structure depends on the image type
PngChunkCHRM  
PngChunkGAMA  
PngChunkHIST  
PngChunkICCP  
PngChunkIDAT  
PngChunkIEND  
PngChunkIHDR this is a special chunk!
PngChunkITXT UNTESTED!
PngChunkMultiple Represents a PNG chunk type that allows multiple instances in same image
PngChunkOFFS  
PngChunkPHYS  
PngChunkPLTE  
PngChunkSBIT  
PngChunkSingle Represents a PNG chunk type that does not allow multiple instances in same image
PngChunkSPLT  
PngChunkSRGB  
PngChunkSTER  
PngChunkTEXT  
PngChunkTextVar superclass for three textual chunks (TEXT, ITXT, ZTXT)
PngChunkTextVar.PngTxtInfo  
PngChunkTIME  
PngChunkTRNS  
PngChunkUNKNOWN  
PngChunkZTXT  
PngMetadata We consider "image metadata" every info inside the image except for the most basic image info (IHDR chunk - ImageInfo class) and the pixels values.
 

Enum Summary
ChunkLoadBehaviour  
PngChunk.ChunkOrderingConstraint Possible ordering constraint for a PngChunk type -only relevant for ancillary chunks.
 

Package ar.com.hjg.pngj.chunks Description

Contains the code related to chunk management for the PNGJ library.

Only needed by client code if some special chunk handling is required.