PNG.insertChunk

Insert chunk before IDAT. PNG specs allows to drop all chunks after IDAT, so we have to insert our custom chunks right before it. Use Chunk.create() to create new chunk, and then insertChunk() to add it. Return true if we did replacement.

struct PNG
nothrow pure @trusted
bool
insertChunk
(,
bool replaceExisting = false
)

Meta