You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I reported the issue in #1002 and #1003 seemed to have resolved it. However a new "git clone" does not work to allow this code to work: svgEditor.svgCanvas.rasterExport("PNG", 100)
It will create the export of just the SVG tags.
However an svg tag will not be included
This should show the image, if it does not then you need to add "href" tags to the svgedit/packages/svgcanvas/core/santize.js (line 51)
Rebuild
reload from step 2 above.
Add a couple of SVG objects (lines or whatever)
Then test the export:
Menu > Export
This should show the background image and the tags all composited onto a single PNG image. However this does not work, it only shows the SVG elements that are NOT the image. This is the broken part.
Expected behavior
Menu > Export should generate a PNG image with all the SVG tag content (images and other tags).
*SVG-Edit environment (IMPORTANT)
Version: current version from "git clone"
Desktop (please complete the following information):
OS: Linux (same on any OS)
Browser firefox (same on any browser)
Log
Here is the output in the Firefox javascript "Console" that shows the error:
Additional context
Weird thing is that this worked when #1003 was fixed. But not it stopped working on a new git clone.
Please let me know if I can help with any other details.
Thanks!
Alex.
The text was updated successfully, but these errors were encountered:
Describe the bug
I reported the issue in #1002 and #1003 seemed to have resolved it. However a new "git clone" does not work to allow this code to work:
svgEditor.svgCanvas.rasterExport("PNG", 100)
It will create the export of just the SVG tags.
However an svg tag will not be included
To Reproduce
Steps to reproduce the behavior:
Then test the export:
Expected behavior
Menu > Export should generate a PNG image with all the SVG tag content (images and other tags).
*SVG-Edit environment (IMPORTANT)
Desktop (please complete the following information):
Log
Here is the output in the Firefox javascript "Console" that shows the error:
Additional context
Weird thing is that this worked when #1003 was fixed. But not it stopped working on a new git clone.
Please let me know if I can help with any other details.
Thanks!
Alex.
The text was updated successfully, but these errors were encountered: