Hello everyone,

I am new here. I am working on a java project for which I am using Batik. I
need to include a png file in my svg document. This is the coding I used

Element my_image = document.createElementNS(svgNS, "image");
my_image.setAttributeNS(XLINK_NAMESPACE_URI, "xlink:href", "test_png.PNG");

but all I see on the JSVGCanvas is an image which is similar to a broken
link icon. Can someone please help me with this?

Thanks in advance. 
-- 
View this message in context: 
http://old.nabble.com/embedding-a-png-image-in-the-svg-document-tp28904142p28904142.html
Sent from the Batik - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to