title: Store an SVG image in JSON or not?
body: <p>I do not know if I'm asking in the correct "Stack", but at the moment I seem to be the most appropriate one. Let me also note if I'm wrong, I'll immediately move the question to another Stack.</p>
  
  <p>I need to save a vector image (most likely it will be SVG format). We are considering how to memorize this image. The point is that we prefer to use only a JSON file, which means that you have to convert the SVG image to at least Base54, but is it lossless or not?</p>
  
  <p>The alternative would be to save the local path of this SVG image in a field in the JSON file. This image and JSON files should not be sent over the network and conversion from Bas64 to SVG should not be too slow considering a PC environment. Based on your experiences, what do you recommend doing?</p>