ApngAnimation.handleOtherChunkWhenLoading

Hook for subclasses to handle custom chunks in the png file as it is loaded by readApng.

class ApngAnimation
protected
void
handleOtherChunkWhenLoading

Examples

override void handleOtherChunkWhenLoading(Chunk chunk) {
	if(chunk.stype == "mine") {
		ubyte[] data = chunk.payload;
		// process it
	}
}

Meta

History

Added December 26, 2021 (dub v10.5)