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

inkex.py TypeError: write() argument must be str, not bytes

I am trying to fix a problem in a function inside the inkex.py distributed with Inkscape. The function is def output(self): """Serialize document into XML on stdout""" original = etree.tostring(self.original_document) …
Ras
  • 139
  • 4
  • 13
-1
votes
1 answer

Seamlessly tileable SVG feTurbulence Filter

How could I create a seamlessly tileable noise in SVG, with the feTurbulence filter or a combination of filters? I'd like a similar result as with the Gimp's Filters/Render/Noise/Solild Noise.... Here from Gimp:
Léa Gris
  • 17,497
  • 4
  • 32
  • 41
-1
votes
1 answer

Moving text from excel to inkscape

I'm working on a project, which needs to put automatically some text from an excel into INKSCAPE. I want also to know if we can get the item list from inkscape: Line, textbox, img etc ... Someone can give me some ideas or tips ?
Raefko
  • 1
  • 3
-1
votes
2 answers

Stop auto image smoothing inside an SVGZ

I'm using SVGZ images on HTML pages for their resizability. These SVGZ images contain PNGs that have been enlarged in specific ways that I want to preserve, pixelation and all. Firefox is displaying this correctly (the way I designed it in…
Adam Smith
  • 449
  • 9
  • 23
-1
votes
2 answers

why when converted dxf file to svg using inkscape the dimensions of the diagram disappears?

This is the image is done in AutoCAD 2018: This is how the converted SVG image appears: How do I fix it? I have also checked various online DXF to SVG converters but experience the same issue.
Ram
  • 1
  • 4
-1
votes
2 answers

How to keep line feed in svg file (Inkscape)?

I created an svg file with Incskape. It contains a text element like this: My Text I want to use git to keep track of my changes. Since git uses…
-1
votes
1 answer

remove background from vector image in inkscape

I opened a png image in Inkscape and did Path -> Trace Bitmap to vectorize it, but on preview my image was without blue color. How do I remove that blue background to get only black edge. The Trace Bitmap settings are like this:
vitasya
  • 355
  • 5
  • 17
-1
votes
1 answer

Use TRUST Design Tablet with Windows 7

I have a TRUST Slimline Design Tablet for MAC #15908 and I would like to use it with InkScape under Windows 7. Is there a way to do it? I browsed for drivers on the TRUST website and I only found them for OSX (see here).
albus_c
  • 6,292
  • 14
  • 36
  • 77
-1
votes
1 answer

Unable to run inkscape in PHP shell_exec() command

I have a design tool extension that is used on a website I'm working on. The design tool uses inkscape command line to export images. There is a php interface to work with the command line operations which ultimately calls shell_exec($inkscapeCmd).…
spencerready
  • 178
  • 1
  • 10
-1
votes
1 answer

Inkscape to convert svg to png

I am currently working on a PHP script that is converting SVG to png and for that purpose I am currently using the Inkscape solution. It works like a charm but when there is a lot of visitors it is causing server load even if I am using a dedicated…
Belatar Yassine
  • 153
  • 2
  • 10
-1
votes
1 answer

Generate SVG code for usage in HTML file

I'm using the SVG-tag in a HTML file to create some graphics for a video player. Now I wanted to use Inkscape in order to create the svg code and then take the generated code and use it within my svg tag. That approach seemed to work pretty fine at…
timo
  • 23
  • 5
-1
votes
1 answer

Need a SVG file that is 150px wide, 20px tall, reads "THIS IS A TEST' with bold fonts, has a lime background

This is the code i have so far but it's not good THIS IS A TEST i am…
Venus Rising
  • 53
  • 1
  • 4
-1
votes
1 answer

How do I select all objects in an SVG imported into Inkscape from Google Draw?

How do I select all objects in an SVG imported into Inkscape from Google Draw? When I try and select all objects individually so I can export each object as a separate image (export to bitmap) it will only select the entire imported SVG. I want to…
Ben
  • 2,122
  • 2
  • 28
  • 48
-1
votes
1 answer

Programmatically setting .eps files to CMYK (as opposed to RGB)

We have an app where we need to export files from vector files from Inkscape to .eps to be used for printing. While this is working fine, our printers have complained that they are receiving the files in RGB mode instead of CMYK. Is there a way to…
Walker
  • 128,495
  • 27
  • 68
  • 94
-2
votes
1 answer

Cant seem to see content of inkscape file

I worked on some design on inkscape and something weird happened. I can no longer see the contents for file when i open inkscape. All I see I blank whitespace, I don't even see the black rectangular borders I used to see before. When I look at the…
user3775998
  • 1,393
  • 3
  • 13
  • 22
1 2 3
51
52