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
Link to this function
parse_data(palette, transparency, arg3)
Specs
parse_data( ExPng.maybe(t()), ExPng.maybe(ExPng.Chunks.Transparency.t()), ExPng.Chunks.Header.t() ) :: ExPng.maybe(t())