Files
qbz/crates/qbz-slint
vicrodh b03c8fcb5c feat(slint): spectrum bar colors track the cover's dominant hue (vivid gradient)
The original RGB "most saturated sample" extraction produced a near-grey color
with no perceptible gradient on dark/metallic covers. Rework in HSL: bin
chromatic pixels by hue, pick the most ABUNDANT hue (coverage), force it vivid
(sat 0.85, mid-bright) so it reads on the black bg, and rotate +55° for the
secondary stop -> a clear gradient. True B&W covers fall back to a default
duotone. (Hue selection can still surprise on some covers; further tuning of
which tone wins is deferred.)

cc
2026-06-14 04:13:01 -06:00
..