Svg Vs Base64. Use XMLSerializer to convert the DOM to a string. Right time to choose SVG vs Data URIs vs PNGs in your Web Design.
Optimize your svgs and convert them to base64 online. Note that the serialized string generated by the XMLSerializer will return the plain SVG so encoded into base64 we would obtain the plain base64 data. SVG images dont need to be converted to bas64 since its already text.
SVG or Scalable Vector Graphics file is a type of vector graphics file that carries 2D graphics.
However some of the imagesicons are hardcoded into themeplugins. Which should produce now. For eg Base64 string that can be replaced with an image source will look something like this. If youre able to edit the URL of the image you can directly paste the base64 text.