Files
b2d/src
Dagen BrockandClaude Fable 5 a14a055084 Fix off-by-one scanline pairing in mono DHGR conversion
ConvertMono seeks to the stored row for image line 2y, but read the
second line of the pair sequentially — which in a bottom-up BMP is
the stored row above (image line 2y-1), not below; the pos -= packet
only updated the variable. Output line 0 averaged the top line with
a read past EOF, every other line averaged with the previous line
instead of the next, and the bottom source line was never read —
a half-line vertical phase shift in 560x384 color mono conversions.
Seek to the decremented pos so the pair is image lines 2y and 2y+1.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BCcEM6zYoVcXQt5YfvFo16
2026-07-23 18:12:39 -05:00
..
2026-07-21 18:51:53 -05:00
2020-05-03 12:39:44 -05:00
2020-05-03 14:35:20 -05:00