Struct gimp_palette::Palette [] [src]

pub struct Palette { /* fields omitted */ }

Methods

impl Palette
[src]

Creates a new named Palette from a non-zero-length collection of Colors.

Passing a zero-length collection will result in an Err(NewPaletteError::NoColors)

Creates a new Palette from a file path. TODO: Decide how to handle the 'Columns' header value.