pub fn extract(img: &DynamicImage) -> Vec<Palette>Expand description
Extracts the palette Eagle would store for img.
img is the image Eagle analyses: the item’s thumbnail, or the original
when the item has no thumbnail. It is shrunk to ANALYSIS_WIDTH first.