question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JPEG format is not available on GraphViz

See original GitHub issue

If 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:closed
  • Created a year ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

0reactions
Mogzttercommented, Nov 9, 2022

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Graphviz Format: "jpeg" not recognized - python - Stack Overflow
Format: "jpeg" not recognized. Use one of: It seems like graphviz cannot write a file to any format. How to solve this?
Read more >
Output Formats - Graphviz
Format Command‑line parameter Description BMP bmp Windows Bitmap CGImage cgimage Apple Core Graphics DOT canon dot gv xdot xdot1.2 xdot1.4 Graphviz Language
Read more >
image - Graphviz
The image file must be in one of the recognized formats, typically JPEG, PNG, GIF, BMP, SVG, or Postscript, and be able to...
Read more >
Size issue when generating image files - Help - Graphviz
Svg files can be directly viewed with most/all web browsers. As a guess, you may be building graphs that are too wide for...
Read more >
JPEG - Graphviz
JPEG's image compression can blur fine image details like text & lines, so consider using a lossless format (say, PNG or WebP) instead....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found