Hot answers tagged

80

How about Inkscape? It is: free and open source, has a perfectly compliant SVG format file generation and editing, can open a number of other vector formats, with the help of extensions, can natively import most raster formats (JPEG, PNG, GIF, etc.) as bitmap images, but it can only export PNG bitmaps, as it is a downloadable software, it runs ...


8

New SVG++ library is a good choice for SVG reading in C++, except that it is not lightweight and requires Boost library. But as it is header-only library and uses only header-only libraries from Boost, you only need to fetch both SVG++ and Boost and add them to include paths, no building required.


7

As already mentioned I would go with Inkscape if you want a full featured SVG editor with great design capabilities and powerful tools. If you want something simpler however, are looking for a web based solution or Inkscape is not available on your desired platform there is also SVG Edit. SVG Edit is a JavaScript browser based editor, that can be used both ...


6

The QT Framework includes QT SVG, a module able to generate and render SVG files.


6

You can use GIMP (PSD format is documented) although you might lose some information in the process such as: Layer comps Layer effects (shadow, glow, etc) Vector objects Layer masks


5

Open SVG in browser and print the page to PDF. Not silent or command line so doesn't meet my requirements Use cmdlnprint $ firefox -print "URL" Addon for Firefox to automate printing using command line (silent printing). You can print to a normal printer configured at your system or print as a file (pdf, ps or png). And there are a billion ...


4

If it's mainly about sequence diagrams, I use JS Sequence Diagrams. The input is plain text which is nice for version control. The output can have different styles. I love the "hand-drawn" (like xkcd) style, to indicate that this is a sort of draft diagram. For final versions which go into official documentation, I switch to "simple" style. The result can ...


4

Yes, this does indeed seem to be a limitation with respect to the PHP DOM library. Much easier to fix on the Inkscape side. Choose to save as "optimized svg" And then make sure the "style to XML" box is ticked.


4

Inkscape allows to edit and export standard SVG, without Inkscape metadata. Try to Save as > Plain SVG.


4

The only alternative I know of to InkScape is sK1: Source: Wikipedia I've only used it for simple web design SVG editing, but it appeared to work fine. Less features than InkScape, but it does seem to import from proprietry programmes (such as CorelDRAW) a little better than InkScape. It exports to PostScript, and thus to Adobe Illustrator (5.0) rather ...


4

You have a few options: librsvg from the Cairo Graphics project extend libsvgtiny to meet your needs extract the SVG layer from Amaya use an xml parser and then parse properties as needed for C++ and significant dependencies: QT, webkit or chromium Note on libsvgtiny: It is developed by the Netsurf Browser project and has very minimal dependencies that ...


4

I have upvoted both of Thomas answers & will be looking into them. I have done a lot of searching for MSC drawing tools, especially those which take plain text as input. In addition to scripts easy to store in version control, it allows me to code tools (normally as Python scripts), for instance to automatically generate an MSC from a test log to ...


4

Any semi-decent vector editing application should fulfil your requisites (except being free). In addition to the already mentioned Inkscape (that requires X), Gravit Designer is a good choice (you can use it both in the browser or as a standalone app).


3

In order to sketch class diagrams and use case diagrams, I use yUML. I don't like the activity diagrams of the same site. The input is plain text which is nice for version control. The output can have different styles. I love the "scruffy" (xkcd-like) style, to indicate that this is a sort of draft diagram. For final versions which go into official ...


3

Yes, Google can search for SVG files. Lifehacker agrees. January 28, 2011 Google Image Search Indexes SVG Files Last year, Google announced that it started to index SVG files, but the results were only returned by the web search engine. "SVG is an open, XML-based format for vector graphics with support for interactive elements. We're big ...


2

SVG is a special type of XML (source). So any C/C++ library that allows you to parse XML will also allow you to parse SVG. Many libaries are posted as answers to the question Best open XML parser for C++. Some of them are RapidXML pugixml TinyXML-2


2

My recently favorited online editor draw.io does sadly not support drawing organic or chemical compounds, but I looked at the list of Online Molecule editors and searched for one provided SVG export. Maybe more than one support it, but I found one which does support SVG export (although it calls "SVG Image"), and that is the PubChem online molecule editor, ...


2

The Website Checker site allows you to simply paste the text of your raw SVG into a box and then preview & download the resulting image as PNG or JPEG.


2

Both Atom, Brackets and Visual Studio Code plain text editors have a plugin for real time preview of SVG files while being edited. Atom SVG Preview Package Brackets SVG Preview Visual Studio SVG Viewer Though I suspect they only provide real time preview of chages made through their respective editors.


2

The file you've provided opened in animated form in Ubuntu Linux in both Firefox and in Google Chrome.


1

Essential Diagram for JavaScript supports manipulating SVG based nodes and serialization. Example The whole product is available for free through the community license if you qualify (less than 1 million USD in revenue). Note: I work for Syncfusion.


1

Google Web Designer might fit your criteria. Failing that look at Inkscape Animation


1

For people who want it to run truly headlessly, i.e. no X server, try wkhtmltopdf (note that Linux distro packages of it are missing some features, so download from their website). It was designed to work with HTML but uses QT WebKit and so should be able to render SVG. Run with wkhtmltopdf input.svg output.pdf. wkhtmltopdf also works with inputs located on ...


1

There is no reason why you can not use SolidWorks or say Autocad for this. Its not often done but possible. I use Maya and Creo all the time to make logos in 2D, i just export the logo in EPS and be done (Ok so the NURBS surfaces must be turned to Beziers, no big deal in many cubic and quadratic cases). The thing is constraints solvers are not terribly time ...


1

I love Express Animate: http://www.nchsoftware.com/animation/ It can output a Mp4 video, but also export a Html5 version modifying the obects using JavaScript, so you only have the original assets and a JavaSvript file. I think it is not using canvas, only JavaScript.


1

Adobe Animate CC (flash) can do exactly this - render vector animation on HTML5 canvas with javascript, but it's 10€/month or so. IMO it's worth the money if you have some income (and if not, internet is your friend) as it has some very nice features regarding animation. But I see nothing wrong with embedding video or gif if all you want is to watch the ...


1

You could use ImageMagick from the command line to view the images or to create a contact sheet like preview of the contents of each directory, with captions such as the file names and you can do so in a number of output formats including a clickable html preview file. Lots of options and control available here using the montage command but one example ...


1

You could modify the program suggested here as follows: using System; namespace ExtractBitmapFromSvg { static class ExtractBitmapFromSvg { static int Main(string[] args) { var svgFile = new SvgFile(args[0]); var images = svgFile.GetEmbeddedImages(); var hasImages = images.Count > 0; ...


1

Found my own answer. Affinity Designer for OS X seems to have all the features needed: Can draw several vectorial icons in a single page and declare many export zones for exporting icons individually (or in batch). It is overloaded with tons of vector and raster features.


1

Krita has vector graphic mode. It lacks features comparing to Inkscape, but is more user friendly. If you are Ok with powerpoint then Krita would probably be sufficient.


Only top voted, non community-wiki answers of a minimum length are eligible