How to render Bitmap into Canvas?

Is there a web application or toolset, that can server-side render views into a SVG file, as controlled from and presented in the client's browser?

  • Similar to google maps zoom/pan, etc. but here the server-side data would be a massive SVG file (converted to SVG from a GDS representing chip layout). One option I'm considering is taking existing compiled C or Java tools that are native client programs for viewing GDS files and using their source code but redesigning them to split the UI between browser-Ajax and server-side rendering. IMHO: I feel certain server-side Java, at a low-level can render graphics into a (Swing) Canvas, which becomes raster image to be sent to the client thru AJAX or whatever. But to get a fast solution, I'd still need Java library/package that can render SVG into the Canvas object.

  • Answer:

    Basically, SVG is just XML. On the server, you need to serve up that XML, typically as part of a page, , and on the client (browser) you need to have some controls to allow panning, zooming, etc.

Michael R. Bernstein at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.