"backshift"  -> do something to negate the translation, for example compute
the bbox of the two and align the center of one to the other. Or maybe
better the midpoint of the top of the bbox of one to the other. Taking the
top-left corner might be an idea, but it makes it hard to realign by a
subpixel amount.

And mind you: we need _tests_ not just the images, I want to investigate if
making the images in a different format helps (with/withou aa, messing with
resolution, ... whatever the case might be)

L

On Tue, Jul 30, 2024 at 11:47 AM Luca Fascione <l.fasci...@gmail.com> wrote:

> Yes we do need a few tests set aside for this. Agreed. I was thinking
> about antialiasing and such, it's possible a different approach might work:
> render at a somewhat higher resolution, then backshift and blur everything
> a bit (say a gaussian of 2 pixels or so, just a touch). That might make
> enough of a "moat" between good and bad to make it fine for comparisons
>


-- 
Luca Fascione

Reply via email to