Latest Questions tagged Batik

Browse all latest questions tagged Batik

Published 29 Oct, 2022
Java - Got java.lang.NoClassDefFoundError: org/apache/batik/dom/svg/SAXSVGDocumentFactory when using Interleaved2Of5 Barcode format

I am trying to print a list of barcodes, data for which which will be sent to the JasperReports jrxml in a List of Strings. I am successful in printing the barcodes using barbeque format, but now I h...

Published 04 Sep, 2022
Java - java how to merge multiple rectangles into one polygon

I hope someone can help as I am struggling with this part of my task at work.I've deliberately not detailed the context of the work task to try and keep the focus on the problem. I have to merge recta...

Published 17 Aug, 2022
Java - How to get the image size (width/height) of an SVG image with batik

How can I get the size (width/height) of an SVG image using batik (1.7)? String s = ""; InputStream is = new URL(s).openStream(); DocumentBuilderFactory f = Do...

Published 13 Sep, 2022
Java - How to add SVG image to PDF built with HTML and Flying Saucer library (and Batik)?

Im working on generation of PDFs with XHTML using the flying saucer library (old but open source). I got that working but I also want to add SVG images. Ive started working on integrating batik to try...

Published 01 Sep, 2022
Java - How to get a BufferedImage from a SVG?

I am using Batik to handle SVG images. Is there any way to get a java.awt.image.BufferedImage from a SVG-file? I know there are transcoders, with which I could transcode the SVG into, for example, a...

Published 31 Aug, 2022
Java - Batik SVG to PDF - PDFTranscoder - Page Size A4

I was succesful converting an SVG File into PDF using Apache Batik. The following code is used to generate PDF: import org.apache.fop.svg.PDFTranscoder; import org.apache.batik.transcoder.Transcoder...

Published 26 Aug, 2022
Java - How to load and parse SVG documents

Background There are number of unanswered questions related to reading and parsing SVG paths: Easiest way to read in svg path data with Java? Re: parsing a svg file using batik svg parser How to co...

Published 17 Aug, 2022
Java - Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper

How to solve "Assistive Technology not found" error in Google App Engine openJdk? I am developing one web app that uses Apache Batik, it works fine in local with jetty and oracle jdk, but when I depl...