On Sun, Aug 11, 2002 at 12:52:32PM -0800, Brion VIBBER wrote:
I'm not sure that SVGs are sufficiently user-friendly for it to make
sense to edit the source wiki-style, except perhaps for the simplest of
images (maybe for [[Square]] and [[Triangle]]...).
I agree, editing that XML by hand is not going to be much used. There are
already applets out there that let you do some editing on an image. See, and
be amazed:
http://twiki.org:80/cgi-bin/view/Plugins/TWikiDrawPlugin
Unfortunately it's not using SVG although they seem to consider it. See:
http://twiki.org/cgi-bin/view/Plugins/TWikiDrawSvgPluginDev
It's a nice reminder of what is possible.
To me, it makes more sense to keep them in the
[[image:]] space, with
automagic conversion[1] when we notice we're dealing with a *.svg.
For conversion to PNG I just tried the Batik tools. They are in the form of
Java jar files. At the moment I cannot get it to render text in images, but
it also complains about some missing fonts, so that could be my fault. For
the rest it seems to be working fine. In case you are interested and want to
try it yourself:
http://xml.apache.org/batik/
-- Jan Hidders