@domenan: It seems to behave as expected on my end (with relatively simple images/icons), bearing in mind the
known restrictions of NanoSVG's simple rasterizer :?.
As for text, IM has a FreeType module that can do the job. It's far from efficient, but it works, I'm using it in the ScreenSavers hack

.