Skip to content
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

Support PNG and GIF #31

Open
idontgetoutmuch opened this issue Jul 18, 2017 · 4 comments
Open

Support PNG and GIF #31

idontgetoutmuch opened this issue Jul 18, 2017 · 4 comments

Comments

@idontgetoutmuch
Copy link
Member

I seem to have created an 11M SVG. It would be more economical to use a PNG. I'd also like to be able to embed animations (GIF).

@byorgey
Copy link
Member

byorgey commented Jul 19, 2017

Yes, this makes sense. I don't remember off the top of my head why we only support the diagrams-svg backend, or how much work it would be to generalize.

@byorgey
Copy link
Member

byorgey commented Jul 19, 2017

After a quick perusal of the code I think it is mostly a symptom of a more general problem: it is currently quite difficult to write code which can choose different backends based on user input such as a flag. I think this situation would probably improve with @cchalmers proposed changes to the way we organize backends and their types, although that may still be a ways off.

@idontgetoutmuch
Copy link
Member Author

So a quick(ish) option would be to clone the repo and fix the backend to be rasterfic?

@byorgey
Copy link
Member

byorgey commented Jul 19, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants