imagemap notes. I'm trying imagemap editing using gimp, the opensouce image editing package. The .html file nearby is the HTML tidy'd result; the .txt file is the raw output. under Filters/Web/ menu (right click on image) it'll bring up an imagemap editor. Select the polygon tool. Draw an outline, double-click w/ left mouse button (or equiv?) to finish the polygon. Enter info into text window and hit save. Repeat, then save the entire thing (in default syntax). see http://www.w3.org/TR/html4/struct/objects.html#h-13.6 for HTML spec: example: The cool site!

Navigate the site: Access Guide | Go | Search | Top Ten

Taking the output from Gimp and HTML Tidying, we get a reasonable imagemap. Tidy complains: The alt attribute should be used to give a short description of an image; longer descriptions should be given with the longdesc attribute which takes a URL linked to the description. These measures are needed for people using non-graphical browsers. ...which is reasonable. =============== SVG via XSLT Max wrote an XSLT sheet that takes HTML imagemaps and creates SVG :) It seems to have similar problem to one we had before when using Batik's rasteriser, namely that we need width/height etc viewbox information, otherwise it crops to the topleft. This should be easy to add. Also want to be able to pass it params, eg. so it filters out everyone except person named in some path...