EchoSVG: Pure Java SVG renderer with level 4 CSS selectors

This page summarizes the projects mentioned and recommended in the original post on /r/javahelp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • echosvg

    SVG implementation in the Java™ Language, fork of Apache Batik, supporting level 4 selectors and colors.

  • EchoSVG is a library for handling Scalable Vector Graphics (SVG) images for various purposes, such as viewing, generation, or manipulation. By leveraging CSS4J, the library supports level 4 CSS selectors and RGBA color values (colors with alpha channel). To my knowledge, there are no other cross-platform, FOSS libraries that can correctly render MermaidJS diagrams outside of a web browser. I've tried Apache Batik, svgSalamander, resvg, rsvg-convert, svglib, CairoSVG, ConTeXt, and QtSVG.

  • css4j

    CSS parser with Event and Object Model APIs, a DOM wrapper and a CSS-aware DOM implementation. Written in the Java™ language.

  • EchoSVG is a library for handling Scalable Vector Graphics (SVG) images for various purposes, such as viewing, generation, or manipulation. By leveraging CSS4J, the library supports level 4 CSS selectors and RGBA color values (colors with alpha channel). To my knowledge, there are no other cross-platform, FOSS libraries that can correctly render MermaidJS diagrams outside of a web browser. I've tried Apache Batik, svgSalamander, resvg, rsvg-convert, svglib, CairoSVG, ConTeXt, and QtSVG.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts