Hi,

Wouldn't HTML Canvas API be better solution?
See https://stackoverflow.com/a/27232525/497381


Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Mon, Jul 17, 2017 at 10:12 AM, Per Newgro <per.new...@gmx.ch> wrote:

> Hello *,
>
> I would like to generate a png from a svg. The transcoding is done by
> using Batik.
> So far it works as expected.
>
> But i'm not sure how to provide the resulting png (a byte[]) to my
> frontend.
>
> The svg is generate in browser by using highcharts. I would like to
> provide a button
> that downloads the transcoded png by sending a request to the "transcoding
> resource"
> and using the svg-dom from browser.
>
> Is there someone who did that already once? Can you please give me a hint
> how this could work?
>
> Thanks for your support
> Per
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to