xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fireball <samiib...@hotmail.com>
Subject Re: Broken image
Date Wed, 07 Nov 2012 13:52:18 GMT
Found solution in case other poeple have the same issue.

Problem - I was loading SVG file as an inputstream and setting uri to null:
document = f.createDocument(null, inputStream);

Solution is to simply set the URI:
document = f.createDocument(file.toURI().toString(), inputStream);


View this message in context: http://batik.2283329.n4.nabble.com/Broken-image-tp4655209p4655344.html
Sent from the Batik - Users mailing list archive at Nabble.com.

To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org

View raw message