This blogging platform,
Blogger.com, does not display its content in
XHTML: in consequence, it is not possible to embed a
SVG picture in the body of a post. Solution: I've created a tool called
SVGToCanvas converting a SVG document to a
Canvas script. The software is available here:
. For example, the picture below was a SVG file converted to
canvas (yes, have a look at the
html
source).
That's it.
Pierre
Inspired from "Retour du Bal", Alfred Roll (1846-1919). Musee des Beaux-Arts de Nantes.
Hi Pierre,
ReplyDeleteThis blogging platform, Blogger.com, does not display its content in XHTML: in consequence, it is not possible to embed a SVG picture in the body of a post.
I'm not familiar with the blogger.com platform but... Wouldn't it be possible to embed the SVG pictures using <object> tags? Maybe through a configurable widget... ;-)
Great to see the developed work, though! :-)
You're right: A svg image can be inserted using the 'iframe' element (see my older post http://plindenbaum.blogspot.com/2008/12/genetic-algorithm-with-darwins-face.html ). But when using a 'canvas' there is no need to upload the svg elsewhere (for example, you can truly download your blog) , your storage quota (e.g. Google Picasa) of images is not reduced.
ReplyDeleteThis is awesome.
ReplyDeleteThank you so much for releasing this tool!
is it possible to convert html5 canvas script to SVG?
ReplyDeletegreat tool.and it so helpful now for my work. keep sharing more information.
ReplyDeleteSchool Signs UK