I do not see any difficulty at all. I routinely open native SVG 1.1 files with gmic. It Just Works. See
gtutor_tileit for SVG files that I’ve rasterized simply through -input
.
gmic -input ampersand.svg
leaves you with a ‘x’,‘y’,1,3 image on the list with channel data in [0,..255]
‘x’, ‘y’ dimensions come from the SVG file; tweak the SVG file with a text editor if you care to change image dimensions - or, quick and dirty, -r2dx
. From there, -img2base64
, no?