Is it possible to dynamically generate SVG images on websites?

I am just learning SVG and it seems like great to me, but I'm not sure about browser support. Did it succeed, or is it too early?

+4
source share
6 answers

Raphael is a cross-browser vector graphics library that can be worth a look.

+8
source

You can use the John Resig processing.js library to get browser compatibility.

There is also a Walter Zorn method (many DIVs) that does not use SVG.

+6
source

There is a new way to bypass Internet Explorer lack of svg features:

Google svgweb project: Scalable vector graphics for web browsers using Flash. This is a JavaScript library that provides SVG support in many browsers, including Internet Explorer, Firefox, and Safari.

+2
source

I thought it was worth updating this dialog, because in SVG cross mode everything becomes "capable". As someone who implemented some (quite significant) systems for an organization, I plunged into the world of cross-browser SVG. I see the words “too early” in the dialogue that began 11 months ago, and I add to it.

Please go to my site, which shows some of Raphael's features. You can easily contact the main site of Rafael, which is located after your pit stop.

My site was implemented with Raphael 0.8.6, but the creator of Rap has just released version 1.0 from the beta, and that (optional) fully supports SVG tracks

If you want to visit the CROSS-BROWSER interactive / SVG world in its current state, please visit these constantly updated websites using:

http://www.irunmywebsite.com/raphael/raphaelsource.html

+1
source

I would say that it is best to create an image in any format convenient for you, and then convert it to SVG using something like ImageMagick. You can write PostScript manually or using a library, or directly create an image from simple text / shape primitives using the ImageMagick API. There is very good documentation there, and you can call ImageMagick as a COM object (provided that your language has good COM support).

0
source

Adobe also creates a plug-in for viewing SVG, which you can link to on your site so that people can get the full functionality of your site. Unfortunately, they stop supporting the plugin, but by then it is expected that there will be more browser support (I hope). A few years ago, I worked for a company that wrote an entire web application using SVG, and we had great success with this plugin.

0
source

Source: https://habr.com/ru/post/1277627/


All Articles