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
6
votes
1 answer

Copy paste Text not working - inkscape

I am using Inkscape 0.91 on Windows 7. I am facing a strange problem in Inkscape. Whenever I am trying to paste content I have copied from the notepad, I am not able to as it says "nothing in the Clipboard". Please help.
Sudarsh
  • 380
  • 4
  • 19
6
votes
1 answer

Inkscape fit page to selection shortcut

I heve this issue in Inkscape: file>document properties Won't open. Not even after cache clear or PC reboot. I have to resize the page to the current selection.
Romeo
  • 1,135
  • 13
  • 26
6
votes
0 answers

Inkscape PDF to SVG conversion issue with text

I am running this inkscape command on Ubuntu: inkscape -z -f input.pdf -l output.svg to export this PDF (input.pdf) as an SVG (output.svg). There seems to be an issue with letter case for some of the text. For examples, "SPECIFICATION" in PDF…
JV Lobo
  • 5,526
  • 8
  • 34
  • 55
6
votes
1 answer

Resize canvas of svg images in command line

I have bunch of svg images (1.svg 2.svg ...) and i would like to center them and resize canvas to the same value for all of them. Let's say that image 1.svg has w. 600 and h. 800 and 2.svg has w. 1000 and h. 400. I would like to set canvas for both…
Dsi
  • 63
  • 3
6
votes
0 answers

Is it possible to include a link to a pdf- or svg-file inside an Inkscape svg?

I am using python to create a bunch of plots of my data and then Inkscape to layout individual plots and schematics in panels of a master figure. I also add some extra elements such as panel names and titles. Every time I modify something in my…
joelostblom
  • 43,590
  • 17
  • 150
  • 159
6
votes
2 answers

SVG to PNG with multiple image layers using PHP

I convert svg to png image with this code This works with a single svg image. Actually i have an svg image which contains multiple layers of images like: 1st layer -:…
HEMANT SUMAN
  • 478
  • 2
  • 13
6
votes
2 answers

How to make blur in Inkscape

I am learning Inkscape and vector graphics in general. What I am trying to draw is a simple person for my adventure game. This is what I have done: * basic contours - no problems, path editing is quite intuitive in Inkscape, * basic colors - I…
Sylvia Lee
  • 69
  • 1
  • 1
  • 3
6
votes
3 answers

Arc, pie cut, in svgwrite

Does any body have a working example of an arc slice (cheese slice or pac-man) done in svgwrite (python), I have tried this in an attempt to get a NorthWest quadrant strarting at (100,100) , but get a weird shape: w = dwg.path(d="M 100,50 A 50,50 0…
Douglas Kastle
  • 699
  • 3
  • 9
  • 23
6
votes
1 answer

Why doesn't Inkscape correctly read PDF files generated by R?

Very often, I draw graphs in R and export them in pdf or svg. Then I import them in Inkskape or Illustrator. Sometimes this generates weird results. For instance, when I generate a simple scatterplot with shapes (1 and 16), Inkscape in unable to…
PAC
  • 5,178
  • 8
  • 38
  • 62
6
votes
1 answer

Path of the current InkScape file from python script

Is there any way to get the name and path of the current document opened in inkScape from a python script? The script is called via the inkscape extensions menu (via an inx file).
Paco García
6
votes
3 answers

Extracting path data from an SVG map to use in RaphaelJs

I'm trying to build an an interactive map using RaphaelJS (e.g. http://raphaeljs.com/australia.html). Please check the source. It requires map path data to input. There is no clear explanation anywhere about how to obtain this information, other…
Srikanth
  • 61
  • 1
  • 1
  • 3
6
votes
1 answer

D3: Select and alter external SVG?

Is it possible to select and alter elements in an embedded (external) SVG , created in Adobe Illustrator? html: circles.svg:
allanberry
  • 7,325
  • 6
  • 42
  • 71
6
votes
2 answers

How to create in indent of a rectangle in Inkscape?

I've been trying to design something for laser cutting and couldn't figure out how to create an indent of a rectangle. Any ideas would be appreciated!
alkopop79
  • 547
  • 12
  • 28
6
votes
1 answer

Best way to display flow motion in a SVG?

I want to create a web page that's showing stuff like flowing fluids. For this I want to use SVG graphics where the start and stop of the (repeating) motion is controlled via JavaScript. This motion can be easily shown by a way like this hand drawn…
Chris
  • 3,265
  • 5
  • 37
  • 50
5
votes
2 answers

Inkscape inside PHP/Apache doesn't render fonts to PNG

An issue I discover today is similar to this unanswered problem; though not the same, it may have the same cause. I'm rendering SVG files using inkscape, as either PNG or PDF. For the most part I intend to use Gearman to render these in the…
halfer
  • 19,824
  • 17
  • 99
  • 186