ExPng.Chunks.Palette (ExPng v1.0.0)

Representation of the color palette for a PNG image encoded using the indexed filter method.

Link to this section Summary

Link to this section Types

Specs

t() :: %ExPng.Chunks.Palette{
  data: ExPng.maybe(binary()),
  palette: [ExPng.Color.t(), ...],
  type: :PLTE
}

Link to this section Functions

Link to this function

new(atom, data)

Specs

new(:PLTE, binary()) :: {:ok, t()}
Link to this function

parse_data(palette, transparency, arg3)

Specs