Questions tagged [svg]

Scalable Vector Graphics (SVG) is a family of specifications of an XML-based file format for two-dimensional vector graphics.

Wikipedia

190 questions
307
votes
25 answers

Command-line application for converting SVG to PNG on Mac OS X

Are there any command-line programs that can convert an SVG to PNG that run on macOS?
293
votes
11 answers

How to get SVG thumbnails in Windows Explorer?

I can open them in browser just OK, but how can I have thumbnails in the Windows Explorer? Edit: I installed Renesis Player as suggested by this answer , but it does not work for me, probably because I have 64-bit system.
zbstof
  • 3,681
202
votes
14 answers

How do I convert an SVG to a PDF on Linux

How do I convert an SVG (containing a few words of latin text and some simple vector graphics) to a PDF on Linux? I tried Inkscape 0.47 on Ubuntu Lucid, but it moves some sub-graphics randomly, and it makes some lines shorter in the output PDF. So…
pts
  • 7,798
96
votes
17 answers

How to view an SVG image on Mac OSX?

I'm working with a bioinformatics visualization tool, which saves a biological pathway as an SVG image. I now want to view the SVG image... but am having some trouble doing so. I tried opening it as a file in both Chrome and Firefox, but in both…
ktm5124
  • 2,077
63
votes
8 answers

Is it possible to take a screenshot of a web page as an SVG image?

I have a webpage which is entirely vector-based (text, icon fonts, SVGs, but no PNGs, JPEGs, or GIFs). Is there any way to take a vector screenshot of that webpage and save it as a fully-scalable SVG file? (so that I can take the screenshot on a…
SLaks
  • 8,064
43
votes
8 answers

JPEG vs PNG vs BMP vs GIF vs SVG

I would like to know which one of these formats requires less memory for the same quality of the picture, and what are the main differences between these formats.
Narek
  • 1,471
43
votes
6 answers

How to create an inner border (stroke) in Inkscape?

I created a shape in Inkscape and set the border width to 1px . The actual size is 100px however with a border it's 102px . How can I set an inner border on the object, not outer? When using Photoshop , the type is selectable ( inner , outer or…
Anton
39
votes
13 answers

Batch convert SVG images to desired size PNG or ICO

I have bunch of SVG icons that I'd like to use for my application to be developed in VB.Net 2010, and since it has no support to handle SVG icons, I need to convert those icons into either PNG or ICO, with preferred output resolution. I've found…
Kushal
  • 1,335
38
votes
9 answers

How to extract an embedded image from a SVG file?

I have a SVG file that contains at least one embedded JPG/PNG image inside. I want to extract the JPG/PNG images from that SVG file and save them on disk. I'm adding the inkscape tag as it is the program I use to edit SVG files, but I also accept…
36
votes
2 answers

How to export an minified/optimized svg from Inkscape?

I'm using Inkscape to create and manipulate SVGs. Later I use this files in my websites. Unfortunately Inkscape produces a really messy SVG, even I select Plain SVG in the save dialog. How can I export a clean, optimized and minified SVG from…
Robin
  • 742
34
votes
3 answers

Command line tool to convert SVG to EMF (Enhanced Metafile)

I know I can use Save as in Inkscape to convert from SVG to Enhanced Metafile (EMF). But if I have several files this is a bit cumbersome. Is there a command line tool I could use instead?
hlovdal
  • 3,208
34
votes
12 answers

Export Excel graphs as vector graphics files (e.g. SVGs)?

How can I export a graph generated in Excel as an editable vector graphics file, e.g. an SVG? When I right click on a graph in Excel the 'Save as Picture...' option only gives non-vector formats (like PNGs and JPGs) as options. I don't mind if the…
tog22
  • 982
  • 3
  • 12
  • 21
33
votes
7 answers

Clickable URLs in PDF output created by Inkscape/SVG

I guess the title pretty much describes the problem. I'm using Inkscape to write a SVG document, and convert it to PDF to share on the web (keeping SVG as original file is safer) I have many URLs in this document. I know internal links (clickable…
saeedgnu
  • 486
32
votes
9 answers

Is there a way to open/import an SVG file with Photoshop CS2 or CS3?

Title pretty much says it all... Is there a way to open/import an SVG file with Photoshop CS2 or CS3? I am on Mac OS X but cross platform solutions are preferred. Illustrator can open SVG files, so I find it odd that Photoshop cannot. I understand…
Josh
  • 9,997
28
votes
3 answers

How can I scale an SVG via command line?

An SVG has these properties, that determine its size: width="146.91299pt" height="78.079002pt" viewBox="0 0 146.913 78.079" I would like to scale a given SVG to a with of 400pt by command line without breaking the aspect ratio. This means, the three…
Martin Thoma
  • 3,674
  • 10
  • 37
  • 67
1
2 3
…
12 13