All Questions
Tagged with vector-graphics inkscape
37
questions
2
votes
1
answer
2k
views
Is it possible to make Inkscape autotrace PNG to SVG, but from the command line?
I want to automate "raster to vector" conversions. PNG to SVG. (most Qs here on SO are the other way around)
I have tried the old command line tool autotrace on Linux, but I could not get ...
2
votes
2
answers
845
views
Why when I open an svg file in Inkscape, info is blacked out?
So I'm creating flowcharts using the Mermaid Live Editor which is a diagram creating program that allows me to export my flowcharts are svg files. The problem arises when I open the svg file in ...
1
vote
0
answers
355
views
for Inkscape scripting, what is the difference between "object-set-attribute" and "object-set-property"?
$ inkscape --action-list
...
object-set-attribute: Set or update an attribute on selected objects. Usage: object-set-attribute:attribute name, attribute value;
object-set-property : Set or update a ...
1
vote
2
answers
1k
views
Opening an EPS file in Inkscape causes weird line artifacts
I'm trying to edit a vector graphics file from Freepik. The format is EPS and after installing both Inkscape and Ghostscript on Windows, I'm able to open the file with Inkscape. However, Inkscape ...
0
votes
1
answer
306
views
Why are Inkscape default extensions not working?
After perspective
Before perspective
Correct perspective
I am using Inkscape v. 1.0. Here when I am using the perspective extension, it is not likely worked and you see the image after perspective in ...
1
vote
3
answers
7k
views
Python change Color in SVG and Export to SVG/PNG/PDF
I have a SVG I created in Inkscape.
I need to make multiple copies of the SVG with slightly different colors.
I'd rather not do this manually.
Is there a library in python that would allow me to ...
0
votes
1
answer
109
views
Save and import inkscape progress with multiple layers
I have started to learn vector graphic design with Inkscape and having an issue while saving my progress. My current progress has multiple layers and when I save it as an SVG and import it, all the ...
0
votes
1
answer
622
views
How to convert vector image files to SVG with inkscape, when I don't know the extension
TL;DR: Is there a way to tell Inkscape on the command line, what the file extension is of the parameter --file=?
I have a case where I have to convert vector image files to SVG, using Inkscape ...
0
votes
2
answers
314
views
How to disable 'created with inkscape' comment in Inkscape?
I am looking for a way to prevent Inkscape from adding the following comment to all files (even "optimized SVG" contains this comment).
<!-- Created with Inkscape (http://www.inkscape.org/) -->
...
3
votes
1
answer
4k
views
Is there an efficient way to store 2D plots as a vector graphic in python?
I'm currently trying to store python plots as vector graphics to improve their appearance in a latex document. For 1D plots this works quite fine:
import numpy as np
import matplotlib as mpl
mpl.use('...
0
votes
1
answer
169
views
Imported SVG from Inkscape isn't rendering
A SVG imported from Inkscape doesn't render in Android Studio. I'm not sure how to begin to trouble shoot this. Is there any in the xml code that gives a hint as to why?
<?xml version="1.0" ...
1
vote
0
answers
783
views
Color Gradient Issue when Importing PDF into Inkscape
I am making a figure with a colorbar in R, which I am importing into InkScape for annotations, etc. My workflow is to create the figure in R, save it as a PDF, and import that PDF into InkScape. ...
2
votes
1
answer
5k
views
Inkscape extensions not working
I installed inkscape and some plugins today for my laser engraver.
I copied extension files to both directories (if i only copy one directory, extensions don't seen properly in program menu):
C:\...
2
votes
0
answers
2k
views
Python & Inkscape: SVG-to-EMF conversion breaks down?
I am trying to automatically convert an SVG graphic to EMF with Python, using Inkscape on the command line. My code is
from subprocess import call
import matplotlib.pyplot as plt
from numpy import ...
2
votes
3
answers
5k
views
Remove all gradients from SVG
I have a SVG file with a few objects it. They all have a linear gradient applied to them on top of their fill colour. I would like to clear all these gradients so that they are all one solid colour.
I ...