diff options
author | Russell Haley <[email protected]> | 2016-02-13 18:59:17 -0600 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-07-11 08:40:38 +0200 |
commit | 7f38bf69cec41fc54e79819022451897e4f1e09b (patch) | |
tree | b7092d0d13823cd52735dbbbe0c1954e0d54a5bd /src/eom-util.c | |
parent | f607cda39a44d1cc1114f50ce98c1b6fdd88931f (diff) | |
download | eom-7f38bf69cec41fc54e79819022451897e4f1e09b.tar.bz2 eom-7f38bf69cec41fc54e79819022451897e4f1e09b.tar.xz |
EomScrollView: Use better downscaling filter
Replace all instances of CAIRO_FILTER_BILINEAR with CAIRO_FILTER_GOOD.
This produces much less aliasing on downscaled images. CAIRO_FILTER_GOOD
uses the same method as CAIRO_FILTER_BILINEAR for scale factors greater
than 0.75, according to https://bugs.webkit.org/show_bug.cgi?id=147826.
Comparison screenshots made with eog 3.18.1: http://imgur.com/a/NaoOs
CAIRO_FILTER_BEST is better still, but the the visual difference is
almost imperceptible and the performance impact is severe.
https://bugzilla.gnome.org/show_bug.cgi?id=665897
origin commit: https://gitlab.gnome.org/GNOME/eog/commit/fbc1128
fixes https://github.com/mate-desktop/eom/issues/96
Diffstat (limited to 'src/eom-util.c')
0 files changed, 0 insertions, 0 deletions