batik Questions

3

Solved

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 rectangles into a single pol...
Peroxy asked 3/3, 2017 at 0:39

2

I'm writing code to convert SVG's to PNG's: package com.example; import java.io.*; import java.nio.file.Paths; import org.apache.batik.transcoder.image.PNGTranscoder; import org.apache.batik.tran...
Phototopography asked 21/7, 2017 at 13:35

5

Solved

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, ...
Appointive asked 11/7, 2012 at 15:6

6

Solved

I want to convert PDF to SVG. I have written my own Java program using the Apache PDFBox and Batik libraries PDDocument document = PDDocument.load( pdfFile ); DOMImplementation domImpl = GenericDO...
Introit asked 8/11, 2010 at 0:55

1

I have an issue configuring Batik PDFTranscoder for Svg to Pdf conversion. I want to embed custom truetype fonts to PDF output, therefore I utilize Batik transcoder. I supply font configuration in ...
Packsaddle asked 19/12, 2017 at 10:28

2

Solved

How can I get the size (width/height) of an SVG image using batik (1.7)? String s = "https://openclipart.org/download/228858"; InputStream is = new URL(s).openStream(); DocumentBuilderFactory f =...
Uninspired asked 2/2, 2016 at 19:38

5

Solved

I am new to JavaFX 2.2 and as of now I couldn't find a way to display SVG Images in my JavaFX 2.2 application. I took a look at Batik, but it didn't do the trick for me as it converts to BufferedIm...
Obit asked 15/9, 2012 at 9:44

5

I cannot seem to find it and Netbeans says that the package does not exist? Which jar do I have to get to have package org.w3c.dom.svg? I'm using batik SVG
Unreadable asked 3/12, 2012 at 3:59

3

My converted image's quality is very low. I have tried using the setQuality method but it does not seem to change anything. This is the part of the code that converts svg to png: SVGConverter svg...
Scalariform asked 27/6, 2012 at 20:37

3

Solved

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 d...
Farmstead asked 4/11, 2018 at 4:41

2

Solved

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.Transco...
Meagre asked 27/12, 2016 at 15:22

1

I do not use maven, or pom or anything. I just have simple test class for testing and I just try to make XSL-FO to PDF conversion and I get this error. The code is simple: package testing; import...
Coulometer asked 15/11, 2017 at 14:17

4

Solved

In the documentation for batik, it shows how to get an instance of the DOM implementation from the class org.apache.batik.dom.svg.SVGDOMImplementation. However, after downloading Batik 1.8 from th...
Belenbelesprit asked 7/5, 2015 at 5:33

1

Solved

I have a student card SVG that has name, id and other field that I want to edit through Java, as the user inputs them using GUI. I have successfully parsed the SVG using Batik but I can't see the...
Asclepiadaceous asked 23/1, 2017 at 6:17

1

Solved

We are using Apache Batik to render SVG files. For security reasons, all the URLs are converted to HTTP. Now, when we are rendering the SVG files, we get this issue. Original SVG is: s...
Aden asked 19/9, 2016 at 12:19

1

Solved

I have SVG file with following image: Each of the arrows is represented by a code like this: <g transform="matrix(-1,0,0,-1,149.82549,457.2455)" id="signS" inkscape:label="#sign"> &lt...
Innervate asked 8/11, 2015 at 8:37

4

Simply put, I'm looking for a way to make an ImageIcon from an SVG file using the batik library. I don't want to have to raster the SVG to disk first, I just want to be able to pull an svg out of t...
Unprofessional asked 22/3, 2010 at 20:31

2

Solved

I have a svg file of 100x100 pixels (for example). I am using Batik. If I do a : JSVGCanvas svg = new JSVGCanvas(); [...] svg.setSize(10,10); It will only show this part of the picture and not ...
Gavan asked 27/4, 2010 at 19:35

1

Solved

I want to display some images on a canvas accordingly to screen dimension without losing the image resolution. If I use a simple png or jpeg, I will see the image pixelized on a big screen. What ...
Adigun asked 23/11, 2015 at 11:44

1

Solved

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 ...
Dorran asked 6/5, 2015 at 16:57

2

I am attempting to convert a svg image to pdf using the Batik SVG toolkit on Ubuntu-11.10. I have Batik 1.7 and Fop 0.95 installed. When running the following in the terminal: java -jar /usr/java...
Scorify asked 8/12, 2011 at 16:40

1

I'm having weird trouble with Apache Batik library linked to my Android&LibGDX project. But let's start from beginning, in IntelliJ Idea I have a project which contains three modules: Main, An...
Hemelytron asked 17/3, 2014 at 19:29

1

Solved

I am trying to find some elements from an SVG document with Batik. This is the example SVG document I am using: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg xmlns:svg="h...
Piperonal asked 30/9, 2014 at 7:8

1

Solved

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...
Casino asked 24/9, 2014 at 22:4

1

Solved

I have an image file (jpg, etc.) and some svg drawings (svg tag copied from the site, as Java String). The svg drawing is of the same resolution as the image file. I want to put svg drawings on top...
Footcandle asked 25/6, 2014 at 15:44

© 2022 - 2025 — McMap. All rights reserved.