pub fn analysis_image(img: &DynamicImage) -> RgbaImageExpand description
The image Eagle hands to the quantizer: img scaled down (never up) to at
most ANALYSIS_WIDTH wide, keeping the aspect ratio.
Eagle draws onto a canvas with default smoothing, which Chromium does as a single bilinear sample per pixel; this mimics that rather than using an area filter.