JPEG format is not available on GraphViz
See original GitHub issueIf I issue: https https://kroki.io/graphviz/svg/eNpLyUwvSizIUHBXqPZIzcnJ17ULzy_KSanlAgB1EAjQ
I get the proper svg response.
If I issue: https https://kroki.io/graphviz/jpg/eNpLyUwvSizIUHBXqPZIzcnJ17ULzy_KSanlAgB1EAjQ
I get:
Error 400: Unsupported output format: jpg. Must be one of graphviz for png, svg or jpeg.
If I issue: https https://kroki.io/graphviz/jpeg/eNpLyUwvSizIUHBXqPZIzcnJ17ULzy_KSanlAgB1EAjQ
I get:
Error 500: Format: "jpeg" not recognized. Use one of: canon cmap cmapx cmapx_np dot dot_json eps fig gv imap imap_np ismap json json0 mp pdf pic plain plain-ext png pov ps ps2 svg svgz tk vdx vml vmlz x11 xdot xdot1.2 xdot1.4 xdot_json xlib (exit code 1)
So, it seems there is a problem with GraphViz and the jpeg output format.
Thanks, Paul
Issue Analytics
- State:
- Created a year ago
- Comments:9 (7 by maintainers)
Top GitHub Comments
Fixed in 0.18.0
https://kroki.io/graphviz/jpeg/eNp9kM0KgzAQhO8-xZIHaKlX6Ulp6S-FPoDEuGhqbML6cyl594JVGyv1OMPMt8ukMiNucojg5QFUTfKRQjVVjRSbzgZQPEEFW2An0oVkQWfO0mLTx53CHalF6hsAO6kwQV4PesbIRPylOJxIiwJp_YMDOPKWD8ouQP0F6AWp5DJ1qOyqU1w9Kte6NcZgjZPrLMxJl8imH9g_8_jzecLzYSzvteLPLBgR1rNvJ7Rwmw==
Actually, the jpeg output is only available on Alpine “edge” 3.17 so it won’t be available in the next release of Kroki (unless this feature is backport to the 3.16 branch: https://gitlab.alpinelinux.org/alpine/aports/-/issues/14199#note_273532