Files
designcraft/crates
dotCooCoo 55963c4918 Images: pick a reduced JPEG's scale by its long side
The JPEG decoder takes the smallest scale that meets either requested
side. A short side rounds up to the same size at several scales, so a
100 x 2 JPEG asked for at a half decoded at an eighth (13 x 1). The
long side alone now picks the scale, and a decode whose size differs
from the requested reduction is refused, which falls back to the full
decode.
2026-11-12 12:57:16 -08:00
..
…