Some experiments with using SVG and the Batik rasterizer Rough notes below. See 'Makefile' for shell commands that run this thing. Todo: HTMLize this, or integrate with ../*.html page ####################################################################################################### SVG -to- SVG transformations: This is our actual goal. For now, crudely implemented with grep operations on SVG files. Hope is that SVG and XSLT folk might be so horrified as to help fix this... ####################################################################################################### fixes to the original (Amaya-generated) SVG: 1) xmlns for xlink: xmlns:xlink="http://www.w3.org/1999/xlink" batik wanted this chaals says it's optional. who to believe. maybe I should read the SVG spec: Batik error: Converting rdfweb-chaals-and-dan.svg to rdfweb-chaals-and-dan.png ... java.io.IOException: Undeclared prefix in name: "xlink:href". 2) we needed to change Amaya's output to set dimensions on the image: It now complains: Converting _tmp.svg to _tmp.jpg ... java.io.IOException: Attribute "viewbox" is not declared for element "svg". ####################################################################################################### Cool stuff that uses SVG Bijan's SVG of a cartoon: http://monkeyfist.com/articles/808 http://monkeyfist.com/pix/BAZ/lifesaver.svgz uses links and rollover. I think this is the rollover bit... a distantly related image app: http://www.complang.tuwien.ac.at/~schani/metapixel/ (goal: get it to output image colour summaries in RDF) #### notes on beer excert: