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

Export SVG files in the headless mode #10

Open
AlexisDrogoul opened this issue Jun 27, 2016 · 0 comments
Open

Export SVG files in the headless mode #10

AlexisDrogoul opened this issue Jun 27, 2016 · 0 comments
Assignees

Comments

@AlexisDrogoul
Copy link
Member

To support advanced function in the gamaR Package. This would enable us to provide a super smooth video.


Actually, I made a quick tour of what is available, and I think the solution can be:

to create a new kind of display which internally uses http://www.jfree.org/jfreesvg/ (a lightweight library)
to create the corresponding IGraphics object using the same library
to add an option to the headless experiments so that they use this display instead of the standard image Java2D one and retrieve SVG elements instead of BufferedImages (after that the library has everything necessary to save SVG files with the correct headers, etc. )
Not a lot of work, I guess, and most of it could be put in a separate plugin.

(moved from https://github.com/gama-platform/gama/issues/1778)

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

3 participants