AToMPM / atompm

A Tool for Multi-Paradigm Modeling
https://atompm.github.io/
GNU Lesser General Public License v3.0
22 stars 15 forks source link

Utilities toolbar export model to SVG does not display custom CS images. #111

Open harolato opened 3 years ago

harolato commented 3 years ago

After exporting via: 1607618552 1

The exported SVG still contains path to the image. Custom images/icons were introduced via ConcreteSyntax formalism. This makes the exported SVG to display incorrectly: chrome_83b6n7OhrK

Possible solutions for a fix:

  1. convert image files into base64 blobs for direct display on SVG
  2. render the SVG into PNG on server/client side before download.