svg

(Simple) Can HTML properties be attributes or are they only for CSS?

The SVG spec talks about Properties.. what are these? Can they be declared as attributes inline with the element? .. or can they only be declared in CSS stylesheets? ...

Can you convert a XAML DrawingImage back into an SVG for editting?

A design company made an application design in WPF 2 years ago, and now we're looking at changing the text on one of the images. No SVG files were provided, only the XAML code used, and the developer who worked on the project at the design company no longer works there. I know he used Expression Blend for the design. Any help with possi...

Show SVG files on Sharepoint 2007

I'm building a WSS site which has to show SVG files stored on WSS. I'm trying to use <object> tag to show it and it doesn't show, however, if I use <embed> it works ok. Im'using IE8 and IE7 I've been reading and everyone tells IE prefers <Object> over <embed>, but in WSS it doesn't work this way. To display the file I'm using a web co...

Where are Adobe DTDs kept?

I can't believe how difficult these are to find. You'd THINK they'd be on adobe.com... anyway. Where can I download the following Adobe namespace DTDs?: <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [ <!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/"&gt; <!ENTITY ns_extend ...

SVG error in my j2me NetBeans6.5 project.

I use svgForms, svgMenus and svgSplashScreen, but one annoying error always appears in the pre verification (last) step, which is the following: Error preverifying class org.w3c.dom.svg.SVGElement java/lang/NoClassDefFoundError: org/w3c/dom/Element It seems like it needs a library to be added, but I have hit the wall here. My sv...

How do I convert a swf vector animation to an animated svg or sequence of still svg's?

How do I convert a swf vector animation to an animated svg or sequence of still svg's? Thanks! p.s. Please don't mention www.eprg.org/~sgp/swf2svg.html. It hasn't been updated since 2000, and I'm looking for a local solution. ...

How to convert SVG files to other image formats

Hi, This might not seem to be strictly programming related question, but i am looking for this for sometime now without any success hence asked here. Is there any image processing tool to convert *.svg files(Scalable vector graphics) files to any other common/widely used image format such as jpeg/gif/bmp etc.. I have a svg file which ...

SVG is dying? What's next?

I heard from more than a single source that SVG is dying, it is abandoned by Adobe. How sad! What's will be next alternative to SVG? Thanks, ...

Displaying SVG in OpenGL without intermediate raster

I have some simple SVG artwork (icon and glyph kind of things) which I want to display in an OpenGL app (developing in C++ on Debian, using Qt). The obvious solution is to use the ImageMagick libs to convert the SVGs to raster images and texture map them onto some suitable polygons (or just use good old glDrawPixels). However, I'm wond...

Creating SVG graphics using javascript?

How can I create SVG graphics using Javascript? Do all browsers support SVG? ...

svg problems

My task is to develop an algorithm that fits different kinds of curves onto a given point-sequence in 2 dimensional space. To be able to test my algorithm, I have chosen SVG to display the result. I have several problems with it. As there may be very different inputs and outputs of my algorithm, it is essential that I could view the ge...

How to programmatically convert SVG to PDF on Windows?

I'm looking to programmatically convert SVG to PDF documents on a server. What are my options for doing that on Windows? I've seen links to Inkscape, Batik, and svg2pdf, but I'm not sure if these can easily be automated to perform the conversion on a Windows server. There's an unusual solution here which involves automating OpenOffice ...

Algorithms for positioning objects in a canvas

Where can i find some algorithm to position some objects in canvas in a clever way? I'm using javascript (with Raphael svg library), but examples with other languages (or pseudo-language) are welcome. Geometry isn't my strong point =) For example have 600x800 canvas, and i want to place n objects sized 60x60 in smart ways, for example: ...

Eclipse: how to show SVG with SWT or free open source SVG Viewer plugin?

I would like to display a svg file inside a eclipse view. a) It would be nice if the plugin can do basic animations too (coloring the area on mouse over). I look for a more practical information: what plugin or library has somebody successfully used? b) or a variant to use svg together with swt. Btw. have already googled for "eclips...

Overlay SVG diagrams on google maps

Hello I would like to add an overlay image on a google map. This image is a SVG file I have generated (python with svgfig). I am using the following code if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById("map_canvas")); map.setCenter(new GLatLng(48.8, 2.4), 12);     // ground overlay     var boundaries...

Degrafa drawing tools - do they exist?

I'm trying to find an easy way to use degrafa with MXML. I'm no artist and creating graphics using code just seems very wrong when you can't visualise what is needed to make the required art work. What I'm after is a tool that can take an SVG graphic and convert to suitable MXML tags so that I can copy/paste them into a MXML file. There...

How to produce same result on different browsers when embedding SVG file in HTML code ?

Hello I begin to have a solution for my previous question Overlay SVG diagrams on google map. But I have another (smaller) problem. I am using Firefox 3.5 and Safari 4 (on Mac), and when I am embedding SVG in a XHTML, I do not have at all the same result. I can use the <object> or the <embedded> elements (but I think the last one is d...

What types of SVG gradient fills are supported when using the Embed meta tag in ActionScript3

I've been trying to embed some svg files into an AS3 project using the Embed meta tag. For example: [Embed(source = "assets/image.svg")] private var Image : Class; However when displaying these files as Sprites only some of the gradients are surviving the embeding process. From what I've found simple (2 step) horizontal gradients se...

Is there a script available to resize SVG?

Is there a way to script the rescaling of a .SVG from its current size (thousands of pixels) to a much smaller size? I've tried ImageMagick, but its support for SVG gradients is far too weak to be useful. The purpose is to work around a bug in a rendering library that sometimes causes svgs with large pixel sizes to allocate large raste...

SVG slicing

Is there any way to slice an SVG . I mean any already available lib . I need to implement this slicing component in Java. I mean , I have single SVG file and based rulers/scales i choose graphically , I want to slice the single SVG into different SVG files. Hope I am clear ...