aboutsummaryrefslogtreecommitdiff
path: root/scripts/benchmark.py
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2026-06-12 16:00:20 +0000
committerDaniel Eklöf <daniel@ekloef.se>2026-06-12 16:04:18 +0000
commitc9c448e61157cf2798f7c571e0e057273d7c3b22 (patch)
treeabfdab9b75fc711e4c6b992e6925b7ebf657653d /scripts/benchmark.py
parentadd ayu-dark (diff)
sixel: clamp pan/pad to 5
Pad is always (in real life) 1, and no-one should be setting pan to anything larger than 5 (the largest value possible to set with the sixel init parameters). FWIW, no-one really uses anything but 1 here either. Clamping ensures we don't blow up allocations to something huge, or worse, trigger an overflow that results in a pixel height of 0, causing a division-by-zero. Closes #2371
Diffstat (limited to 'scripts/benchmark.py')
0 files changed, 0 insertions, 0 deletions