mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-24 18:46:57 -06:00
The decoded-picture cache keyed adjustments with an xor-multiply mix in which brightness b, contrast c and -b, -c collide (the sign bits cancel), so of two copies of a picture, one +40% bright and contrast and one -40%, both showed whichever was decoded first. The key is now a real hash. Wild synthetic set: brightness/contrast grid 27.86 -> 15.93. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>