Index of /2001/08/rdfweb/foafwho

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory  -  
[DIR]imagemap/02-Mar-2002 19:52 -  
[DIR]lib/01-Mar-2002 02:30 -  
[IMG]ams.svg31-Mar-2002 07:33 2.8K 
[   ]batik-rasterizer.jar01-Mar-2002 02:30 31K 
[   ]batik-slideshow.jar01-Mar-2002 02:30 8.1K 
[   ]batik-svgbrowser.jar01-Mar-2002 02:30 162K 
[   ]batik-svgpp.jar01-Mar-2002 02:30 11K 
[   ]batik-ttf2svg.jar01-Mar-2002 02:30 1.3K 
[   ]batik.jar01-Mar-2002 02:30 556  
[IMG]boules.svg13-Mar-2002 20:55 1.4K 
[IMG]danbri-highlight-opacitydemo.svg03-Mar-2002 02:14 2.9K 
[   ]Makefile03-Mar-2002 02:14 2.5K 
[TXT]New.css07-Mar-2002 16:36 51  
[IMG]rdfweb-chaals-and-dan.jpg01-Mar-2002 02:30 72K 
[IMG]rdfweb-chaals-and-dan.png01-Mar-2002 16:08 449K 
[IMG]rdfweb-chaals-and-dan.svg01-Mar-2002 18:02 4.5K 
[IMG]rdfweb-chaals-and-dan2.svg05-Mar-2002 17:54 2.8K 
[IMG]svg-in-rdf.graphviz.png01-Mar-2002 20:09 15K 
[   ]svg-in-rdf.rdf01-Mar-2002 18:29 2.9K 
[IMG]_beer.jpg01-Mar-2002 18:02 209K 
[IMG]_chaals.jpg01-Mar-2002 16:15 215K 
[IMG]_danbri.jpg01-Mar-2002 16:15 215K 
[IMG]_smallbeer_clipart.png03-Mar-2002 02:14 8.3K 
[IMG]_smallbeer_clipart.svg03-Mar-2002 02:14 3.0K 
[IMG]_smallbeer_outline.svg03-Mar-2002 02:14 966  
[IMG]_tmp.jpg01-Mar-2002 18:02 209K 


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:

	  <svg width="640" height="490" viewbox="0 10 640 490"   
 

3)
	Batik rasterizer when run with -validate complains we've got no DOCTYPE. Do we care about that?
	(maybe the transforms could add one?)


So I added a doctype. 

	<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
	"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">

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...

<use xlink:href="#captionPopupText" transform="translate(15, 285)" opacity="0">
 <set attributeType="CSS" attributeName="opacity" begin="mouseover"  from="0" to="1" end="mouseout" />
</use>



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: