mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-07 12:13:10 +00:00
* fix(export): preserve full JPEG chroma in Export As * style(ui): simplify blend preview condition for Clippy * test(export): verify full JPEG chroma at every quality Exercise real JPEG export and decode at five qualities across U8, U16 and F32. Read all sampling factors from the main frame while skipping metadata segments and embedded thumbnails. Keep the colour-error limit at quality 100 and verify that the layered source is unchanged. * Keep JPEG regression compatible with current Clippy Restore the upstream blend-preview and IME predicates, removing unrelated lint-only changes. Use array chunks in the JPEG colour-error assertion for current stable Clippy. * Use quality-dependent JPEG sampling in Export As Keep 4:2:0 through quality 50 and full 4:4:4 above it, using the existing percentage-scale cutoff from Save for Web. Photoshop 27.11 modern Export As measurements show 4:2:0 at levels 1-4 and 4:4:4 at 5-7; no exact numerical mapping of the two scales is claimed. Exercise both sampling regimes through 15 real JPEG exports across U8/U16/F32, check all percentage qualities in settings, and retain the Save As default. Boundary mutations fail at 50 and 51 as expected.