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 EPS and EPS text output #48

Merged
merged 6 commits into from
Jun 28, 2017
Merged

Support EPS and EPS text output #48

merged 6 commits into from
Jun 28, 2017

Conversation

jessetan
Copy link
Contributor

This MR allows a user to request EPS or EPS with text output, fixes #47.

The URLs for different output formats are:

  • PNG: http://plantumlserver/plantuml/png/[ENCODED_UML]
  • SVG: http://plantumlserver/plantuml/svg/[ENCODED_UML]
  • EPS (new) http://plantumlserver/plantuml/eps/[ENCODED_UML]
  • EPS with text (new) http://plantumlserver/plantuml/epstext/[ENCODED_UML]

The proxy server has also been updated to support &fmt=eps and &fmt=epstext query parameters.

Regarding the tests: I was not able to run any of the test cases sucessfully, so I can not check if the test for EPS works correctly.
Currently it checks mime type and size, but not the actual contents of the diagram, which is not trivial.

@arnaudroques arnaudroques merged commit 335a0b4 into plantuml:master Jun 28, 2017
@arnaudroques
Copy link
Contributor

Many thanks for the patch!
We will deploy this online in a couple of day.
Regards,

@arnaudroques
Copy link
Contributor

@jessetan
Copy link
Contributor Author

Thanks for the merge! Is the documentation on the PlantUML website on GitHub as well? The instructions on http://plantuml.com/server could use updating for this change.

@jessetan jessetan deleted the add-eps-to-server branch June 29, 2017 14:31
HeinrichAD pushed a commit to HeinrichAD/plantuml-server that referenced this pull request Jul 19, 2023
HeinrichAD pushed a commit to HeinrichAD/plantuml-server that referenced this pull request Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generate EPS using PlantUML server
2 participants