While working on the extensions pane for Onivim 2, I noticed that the image quality of the extension icons was poor compared to VSCode or the browser.
The issue was that, by default, we weren't setting a filter quality (which is none) - the filter quality controls the fidelity of the image rendering when resizing.
As an example, from none -> low -> medium -> high:
Note the poor aliasing in the none and low images (first two) - the medium and high has better filtering applied to smooth the edges on resize.
While working on the extensions pane for Onivim 2, I noticed that the image quality of the extension icons was poor compared to VSCode or the browser.
The issue was that, by default, we weren't setting a filter quality (which is
none
) - the filter quality controls the fidelity of the image rendering when resizing.As an example, from
none
->low
->medium
->high
:Note the poor aliasing in the
none
andlow
images (first two) - themedium
andhigh
has better filtering applied to smooth the edges on resize.