Mercurial > hg > orthanc-imagej
view ar/com/hjg/pngj/IChunkFactory.java @ 6:da7f11dcc6fd pngj
move
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 15 Apr 2016 10:36:51 +0200 (2016-04-15) |
parents | com/hjg/pngj/IChunkFactory.java@3f418d4451d6 |
children |
line wrap: on
line source
package ar.com.hjg.pngj; import ar.com.hjg.pngj.chunks.ChunkRaw; import ar.com.hjg.pngj.chunks.PngChunk; /** * Factory to create a {@link PngChunk} from a {@link ChunkRaw}. * <p> * Used by {@link PngReader} */ public interface IChunkFactory { /** * @param chunkRaw Chunk in raw form. Data can be null if it was skipped or processed directly (eg IDAT) * @param imgInfo Not normally necessary, but some chunks want this info * @return should never return null. */ public PngChunk createChunk(ChunkRaw chunkRaw, ImageInfo imgInfo); }