swayimg
swayimg copied to clipboard
[feature] anti aliasing
things get quite blocky when not on real scaling i think anti aliasing would fix this right?
Yeah, currently there is a very stupid scaling algorithm without any antialiasing. I'll add this feature in next release.
Seems to me like the anti-aliasing algorithm currently just blurs the image a bit before scaling it, not resolving the "blockiness" issue at all.
Here is an example, a screenshot from "Contra" displayed zoomed-in using swayimg with anti-aliasing on.
And here is the same image, upscaled to the same size using GIMP using "cubic" filtering.
While the image upscaled in GIMP is blurry as the result of scaling, no detail is lost. You can still see that the medal representing the character's one remaining life has a blue circle in the center. This detail is lost on the image upscaled by swayimg. In addition, swayimg's upscaling is still just as blocky.
Yes, you are right, there is a simple blur instead of real anti-aliasing.