Expand description
A library to extract prominent colors from an image.
This library is a reimplementation of the Palette library in Android Jetpack. Android Jetpack is Copyright 2018 The Android Open Source Project. Android Jetpack is licensed under the Apache License, Version 2.0.
Re-exports§
pub use image;
Structs§
- Default
Filter - The default filter included in every
crate::PaletteBuilder
by default. - Palette
- A color palette derived from an image.
- Palette
Builder - A builder for a new Palette.
- Swatch
- Target
Constants§
- DEFAULT_
CALCULATE_ NUMBER_ COLORS - The default amount of colors to calculate at maximum while quantizing an image.
- DEFAULT_
RESIZE_ IMAGE_ AREA - The default area to resize the given image to before quantizing;
Traits§
- Filter
- A trait used to implement filters for the image quantization process.