• src/syncterm/ripdiff.py

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Mar 15 22:55:32 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/10b95605518abe3e24c2a022
    Added Files:
    src/syncterm/ripdiff.py
    Log Message:
    Add ripdiff.py for pixel-accurate RIPscrip rendering comparison

    Compares DOSBox/RIPterm captures (640x350) against SyncTERM captures
    (640x480) by upscaling the 350-row image using the same YCoCg-space interpolation algorithm SyncTERM uses internally (interpolate_height
    from scale.c). Supports XWD and PNG input, EGA palette snapping, and per-channel threshold tolerance.

    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)