Struct imagequant::QuantizationResult [] [src]

pub struct QuantizationResult { /* fields omitted */ }

Palette inside.

Methods

impl QuantizationResult
[src]

Set to 1.0 to get nice smooth image

The default is sRGB gamma (~1/2.2)

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

Final palette

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

Remap image

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

Trait Implementations

impl Drop for QuantizationResult
[src]

A method called when the value goes out of scope. Read more

impl Send for QuantizationResult
[src]