The current scaling quality of images by Xrender is poor.
It could be improved considerably by using the bilinear filter Xrender supports. Bilinear resizing is the default in FLTK's image drawing routines when Xrender is not used, so using it also with Xrender would be appropriate. It's only a one-liner:
Here's a test program to compare the difference to the current Xrender scaling: xrender_bilinear_test.tar.gz
(Assumes the patch is active and it is executed from the test folder)
Example output:
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.