Board Thread:Support Requests - Designing Your Wiki/@comment-36535642-20200709061238/@comment-26611127-20200710142011

You can't really use a CSS property or JavaScript to improve the quality of an image.

That being said, you should probably optimize the image itself, then upload it onto your wiki.