You need to construct an SVG 'image' element (createElementNS) and set the
base64 encoded byte array as the xlink:href (setAttributeNS) (and set other
attributes as needed such as x, y, width, height) then insert the image
element into the SVG Document (appendChild).
Make sure you only modify the document in the UpdateManager's RunnableQueue.

Thomas

On Mon, Sep 10, 2012 at 3:23 AM, ali can <[email protected]> wrote:

> Thanks a lot, Jonathan, but getting this byte array, how I draw it on the
> SVG
> canvas?
> Is there any batik API or should I use the standard Java means?
> Thanks again.
> AC
>
>
>
>
> --
> View this message in context:
> http://batik.2283329.n4.nabble.com/How-to-render-embedded-png-tp4655236p4655240.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