Struct imagequant::QuantizationResult [] [src]

pub struct QuantizationResult { /* fields omitted */ }

Palette inside.

Methods

impl QuantizationResult
[src]

[src]

Set to 1.0 to get nice smooth image

[src]

The default is sRGB gamma (~1/2.2)

[src]

Approximate gamma correction value used for the output

Colors are converted from input gamma to this gamma

[src]

Number 0-100 guessing how nice the input image will look if remapped to this palette

[src]

Approximate mean square error of the palette

[src]

Final palette

It's slighly better if you get palette from the remapped() call instead

[src]

Remap image

Returns palette and 1-byte-per-pixel uncompresed bitmap

Trait Implementations

impl Drop for QuantizationResult
[src]

[src]

Executes the destructor for this type. Read more

impl Debug for QuantizationResult
[src]

[src]

Formats the value using the given formatter.

impl Send for QuantizationResult
[src]