ExPng.Chunks.End (ExPng v1.0.0)

Representation of the IEND final chunk in an encoded PNG image. This is an empty data chunk, but required for properly decoding an image to mark the end of the image's data, and serves as a bookend when encoding an ExPng.Image to PNG.

Link to this section Summary

Functions

Creates a new End chunk.

Link to this section Types

Specs

t() :: %ExPng.Chunks.End{type: :IEND}

Link to this section Functions

Link to this function

new(atom, data)

Specs

new(:IEND, term()) :: {:ok, t()}

Creates a new End chunk.