Click to See Complete Forum and Search --> : Vector Graphics without Flash


Sam
10-06-2003, 07:16 PM
Is there anyway I can implement a vector graphic without using flash? I want to create a javascript resizeable graphic, so vector seems like the way to go

AdamGundry
10-07-2003, 12:07 PM
Theoretically SVG (http://www.w3.org/Graphics/SVG/), but browser support seems patchy. Alternatively, and depending on what you want to do, you might be able to resize an <img> or <div> tag using DHTML.

Adam

Sam
10-07-2003, 04:07 PM
I am currently resizing an image using a div/img thing, however, without the capablities of a vector image, it eventually pixelates quite a lot, how would i go about putting an SVG in (or would it just be <img src="file.svg">)

Robert Wellock
10-08-2003, 11:10 AM
It can be done various ways but using the <object> element is one method, which provides a fallback if the user-agent has issues with SVG plugins.

Sam
10-08-2003, 04:23 PM
I noticed a few tutorials on that, but I didn't see any that explicitly showed how to display an svg from a file (I believe CorelDraw 11 will save with the .svg extension) does anyone have an example of how to do this

MotherNatrsSon
10-10-2003, 07:35 PM
When in doubt, go to the W3C...LOL

SVG 1.1 Specification (http://www.w3.org/TR/SVG11/)

I think it has what you want.

You can use the pen tool in Photoshop and Adobe Illustrator as well to make SVG.
MNS