Questions tagged [inkscape]

Programming questions about scripting the Inkscape vector-graphics application, e.g. using the Inkscape CLI as part of a graphics conversion workflow. Questions about installing the application should go on Super User. Questions about using the application should go on Graphic Design.

Inkscape is a free, cross-platform software vector graphics editor, licensed under the GNU General Public License.

Inkscape uses SVG as its native vector format and uses GIMPs .gpl file format for palettes. Extensions can be written in C, C++, XSLT, Python, or shell scripts. It has a command-line interface which is useful for processing vector collections such as PDFs.

Inkscape supports many advanced SVG features (markers, clones, alpha blending, etc.) and great care is taken in designing a streamlined interface. It is very easy to edit nodes, perform complex path operations, trace bitmaps and much more. We also aim to maintain a thriving user and developer community by using open, community-oriented development.

A comprehensive guide to Inkscape can be found here.

773 questions
241
votes
27 answers

Removing transforms in SVG files

I have been struggling with this for a while, and can't seem to find an answer (that works) anywhere. I have an SVG file which looks like this:
Ephemera
  • 8,672
  • 8
  • 44
  • 84
107
votes
3 answers

How to set a stroke-width:1 on only certain sides of SVG shapes?

Setting a stroke-width: 1 on a element in SVG places a stroke on every side of the rectangle. How does one place a stroke width on only three sides of an SVG rectangle?
user782860
  • 2,689
  • 5
  • 18
  • 15
101
votes
9 answers

Setting background color/pattern of Inkscape workspace to distinguish transparency

How can I set the appearance of the background area in Inkscape so that I can tell the difference between an image with a white background and an image with a transparent background? Many other image view/editing programs have a checkered background…
blahdiblah
  • 33,069
  • 21
  • 98
  • 152
84
votes
8 answers

Convert SVG to transparent PNG with antialiasing, using ImageMagick

I want to convert SVG images to PNG files with transparent background and anti-aliased edges (using semi-transparent pixels). Unfortunately I can't get ImageMagick to do the anti-aliasing, the edges always look terrible. Here's what I tried: convert…
Andreas Gohr
  • 4,617
  • 5
  • 28
  • 45
55
votes
3 answers

Transparency vs. White background in Inkscape

I am using Inkscape and I know how to use transparency within the image, but I am annoyed that the background of the workspace in Inkscape is white. I searched through a lot of settings, but had no luck. How do I get the workspace checkered like in…
jex
  • 643
  • 1
  • 8
  • 9
48
votes
3 answers

inkscape command line, where is it on mac?

This is a kinda silly question. I've installed Inkscape on my mac (Marvericks OS) following this page http://www.inkscape.org/en/download/mac-os/ I know there is a command line option with inkscape. I tried to type inkscape on Terminal and there is…
olala
  • 4,146
  • 9
  • 34
  • 44
47
votes
1 answer

Split shape defined by path into sub-paths

I am attempting to split a closed path to sub-paths, the image is of a tree and I want to be able to easily manipulate branches by dividing them from the path between two nodes and then recombining later.I have tried "Break apart" and "Cut Path" but…
FGiorlando
  • 1,121
  • 2
  • 12
  • 22
46
votes
5 answers

Flattening SVG matrix transforms in Inkscape

I have a free clip art SVG file originally created in Inkscape which I'm making modifications to for use in a Windows 8 JavaScript game. It contains numerous instances of a path with a matrix transform applied on a surrounding group, like this:
Tom W Hall
  • 5,273
  • 4
  • 29
  • 35
41
votes
1 answer

how do I substitute one colour for another, in every object, of an eps file?

I have a vector image that I need to edit and I have inkscape. What I want to do is to substitute one set of coulours of the palette by another. For example, my image has a palette with several tones of orange, green and blue. What do I have to do…
csbl81
  • 453
  • 1
  • 4
  • 8
39
votes
2 answers

Inkscape command line: Need to convert SVG to eps without filter rasterisation

I need to convert an SVG to EPS and currently use inkscape to do this. To convert the SVG using the Inkscape GUI version, I simply open the svg, and "Save As" 'logo.eps', unselecting the "Rasterize filter effects" option. However, I want to…
user1901469
  • 1,169
  • 1
  • 10
  • 21
37
votes
2 answers

Creating icon fonts with vector software (i.e. inkscape) and fontforge?

Through getting some answers here and some research, I've come across a new approach to implementing icons. Rather than as images or css background, it seems you can approach icons as a font. Will this method ultimately mean creating a one file font…
jstacks
  • 2,437
  • 8
  • 32
  • 48
28
votes
6 answers

Gradient has no stop info error while importing SVG file in Android Studio

I am trying to upload SVG file which was exported from Inkscape in Android Studio using Vector Asset but unfortunately I' ve got following error: ERROR @line 35: Gradient has no stop info Code where gradients are defined:
Paweł Bęza
  • 1,375
  • 1
  • 13
  • 23
27
votes
4 answers

How can I prepare an Inkscape SVG file for responsive web design?

I've been doing a tutorial on Treehouse on responsive web design. At this point in the tutorial we are asked to convert an image to an svg so it can scale fully responsively. Rather than use Adobe Illustrator, which I don't own, I used the freeware…
user3009918
  • 359
  • 1
  • 3
  • 8
23
votes
3 answers

Converting svg to png with inkscape command line failing

I feel like I must be doing something silly wrong, but I just can't get this to work. This is the command I am running from cmd: inkscape.com "C:\path\ship.svg" -e --export-png="C:\Path\ship.png" --without-gui In return, I get: WARNING: File path…
eddie_cat
  • 2,527
  • 4
  • 25
  • 43
23
votes
3 answers

In Inkscape, how to set the coordinates of a control point by entering numbers?

In Inkscape, it is quite convenient to move objects by setting the top-left coordinates of an object as numbers. Now what comes to my mind is, is there a similar operation applicable to bezier curve control points? Although I'm looking for an…
robbie fan
  • 618
  • 1
  • 6
  • 10
1
2 3
51 52