Hello everybody,
I am using Batik to develop an application that enables different users
to add images on a fixed background.
By means of a checkbox, each user can select and display the
images added by the others.
I have embedded the background in an svg file using <image>
and I make the changes on it modifying the DOM;
this works, but when a selection on the checkbox is made, I have to
build a new DOM tree and append the <image>
element on top of it, otherwise I see a white
background.
Is there any way to store the background permanently on the canvas in
order to avoid this, or maybe I am missing
something?
Thanks,
Maria Teresa
