libera/#clim - IRC Chatlog
Search
11:18:11
lukego
I'm trying to think of ways to get deeper into CLIM hacking that don't involve distracting maintainers too much. I had an idea now - could it possibly make sense to try doing low-brow differential testing between drawing operations and backends? for example to draw the same scene with e.g. Raster and PDF and SVG (emacs) backends and capture the results into PNGs and ask imagemagick if their similarity is within a certain threshold
11:19:20
lukego
and perhaps to do other low-brow stuff e.g. say that a rotation/translation/scaling should more-or-less preserve the overall distribution of colors in an image regardless of the specific drawing operations that are involved.
11:21:48
lukego
for example I tried applying a rotation transformation in the Emacs backend and the result was surprising - parts of the image seemed to rotate out of the bounding box and disappear - and maybe even quite simple-minded tests could detect that kind of thing and say e.g. whether it is true of other backends too
11:24:36
jackdaniel
lukego: scymtym's master branch has something for comparing images in headless tests