Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 337 Bytes

pdf_create_from_svg_batik.md

File metadata and controls

5 lines (4 loc) · 337 Bytes

Create PDF files from SVG files using Apache Batik

  • Download batik-rasterizer-x.y.jar from https://xmlgraphics.apache.org/batik/download.html.
    • Version 1.8 had a bug which lead to NoClassDefFoundError: org/apache/batik/dom/svg/SVGDOMImplementation
  • Execute java -jar batik-rasterizer-x.y.jar -m application/pdf <SVG_FILE>.