hi all, i am using batik jpeg transcoder to raster an SVG into an image.i am using java script to dymamically show some textelements and hide some using style.setproperty('inline') and style.setproperty('none').this is done on the onload event of my svg document. if i raster this svg into an image,can the batik interpret the onload event of javascript and render the image accordingly. how to enable batik for script interpreting. tha javascript used in the document are contained in js files linked to the svg document. please help me to achieve the script enabling in the batik.
Hi GVS,
I think you should look at:
org.apache.batik.transcoder.SVGAbstractTranscoder.KEY_EXECUTE_ONLOAD
If you set this transcoder hint to true it will run all your onload scripts before it renders the document.
Enjoy!
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]