-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save as PNG #4
Comments
From Chad Whitacre on 2015-06-10 14:20:51+00:00 Here's a hack from mbostock using the CANVAS element as a go-between. |
From Takeshi KOMIYA on 2015-06-12 14:08:50+00:00 The interactive shell is based on blockdiag. So, it already has capability of saving as PNG. but I do not provide the feature. Perhaps, moving to heroku resolve these problems. |
From anatoly techtonik on 2015-06-14 08:18:26+00:00 The links to canvas element is should provide browser-only solution, but that didn't work for me (yet?) |
From Takeshi KOMIYA on 2015-06-30 14:39:50+00:00 Maybe, it caused from that blockdiag and interactive shell do not support |
From anatoly techtonik on 2015-07-01 14:44:44+00:00 It seems like I was able to get SVG rendered to CANVAS and copied to clipboard as PNG. But my goal was to copy SVG directly to clipboard, and this goal failed - https://code.google.com/p/chromium/issues/detail?id=504700, and I didn't save a reference code for previous attempt. |
From anatoly techtonik on 2017-05-13 13:14:08+00:00 See https://bitbucket.org/blockdiag/blockdiag_interactive_shell/pull-requests/8/add-ability-to-save-png/diff for the fix. |
Based on this StackOverflow question: https://stackoverflow.com/questions/5433806/convert-embedded-svg-to-png-in-place
That would be an awesome feature. Google gives some hints, but I haven't got enough time to dig into this yet.
The text was updated successfully, but these errors were encountered: