aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/util/pngj/chunks/ChunkLoadBehaviour.java
blob: 03d50c2c4b71a28b8b531bcce7abab99080e503a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package jogamp.opengl.util.pngj.chunks;

/**
 * Defines gral strategy about what to do with ancillary (non-critical) chunks when reading
 */
public enum ChunkLoadBehaviour {
	/**
	 * All non-critical chunks are skipped
	 */
	LOAD_CHUNK_NEVER,
	/**
	 * Ancillary chunks are loaded only if 'known' (registered with the factory).
	 */
	LOAD_CHUNK_KNOWN,
	/**
	 * 
	 * Load chunk if "known" or "safe to copy".
	 */
	LOAD_CHUNK_IF_SAFE,
	/**
	 * Load all chunks. <br>
	 * Notice that other restrictions might apply, see PngReader.skipChunkMaxSize PngReader.skipChunkIds
	 */
	LOAD_CHUNK_ALWAYS;
}