Questions tagged [svg]
The svg tag has no usage guidance.
22 questions
0
votes
1
answer
38
views
double sided mpage
Hi I can easily use mpage to condense multiple single sided sheets on a single page. However I am finding it tricky to do the same for double sided sheets. In this case I am printing badges. Say my ...
0
votes
0
answers
902
views
telegram-desktop: qt.svg: Error while inflating gzip file: SVG format check failed
I use telegram-desktop on arch linux in sway. It sometimes crashes, so I started it from terminal. This way I find out telegram spams this message:
qt.svg: Error while inflating gzip file: SVG format ...
0
votes
2
answers
968
views
Merge contents of multiple svg files
I have 3 svg files that I would like to combine into a single svg file. Each file has a single path tag in it and I would like to put the path tag from each svg file into one file. I figure there is ...
1
vote
0
answers
201
views
How can I get my SVG icon to automatically change its colour depending on the background colour?
I am trying to add some icons into ~/.local/share/icons/ so that I can use them with notify-send. I can do that just fine, but the icon colour is not adapting to the background, unlike the Adwaita ...
0
votes
1
answer
157
views
How to remove only links, but not actual files?
I have a folder full of .svg files, some of which are actual files and others are merely links to files. They both have the .svg file extension, however the actual files are labeled "SVG Image&...
0
votes
1
answer
510
views
Replace an attribute value with another value in SVG
I have a directory that contains multiple SVG files. What I am trying to do is replace the height="2500" (value of height can be any integer) with height="{{ include.height }}". ...
3
votes
3
answers
6k
views
How to view a big svg file?
I have a big SVG file (~200MB): it's a graph with very precise data. However when gzipped into graph.svgz its size is around 3 MB, so you see it's very repetitive data.
When I attempt to open it, ...
3
votes
1
answer
815
views
Debugging a slow thumbnailer process
I am trying a debug a peculiar performance behavior
in the thumbnail-generating process for eog,
specifically gdk-pixbuf.
The minimal files to reproduce are here:
https://github.com/nbeaver/gdk-...
1
vote
1
answer
451
views
Using sed to replace the hexadecimal code for URL and to insert new SVG codes after SVG tag in all SVG files
I would like to ...
replace the hexadecimal code for URL (id) in all SVG files
insert/add the new lines of SVG codes after <svg ...>, using Regex.
Input:
<svg xmlns="http://www.w3.org/...
3
votes
1
answer
3k
views
Set icon for file type, Linux Mint
I want the files with the extension .api to have some chosen SVG icon in the File Manager.
Assume, we have a file: /usr/share/icons/HighContrast/scalable/apps/utilities-terminal.svg
I add a new MIME ...
0
votes
1
answer
234
views
Automatic conversion of Inkscape <=0.91 files to the new 0.92 CSS format
Inkscape 0.92 asks the user if old files should be converted to match the new resolution.
I aligned all old pictures in units of millimetre.
How can I convert all old files with a script?
Is there an ...
2
votes
1
answer
731
views
Configuring Apache to read svgz file type
I recently migrated a site to a new server. I'm now getting this error from Firefox when attempting to load an .svgz file:
XML Parsing Error: not well-formed
The svg rendered fine on the old server, ...
5
votes
1
answer
6k
views
limitations of CUPS command line printing of image files
I have my default printer set: lpoptions -d HP_ENVY_5530_series.
I can print some text:
echo HELLO > h.txt
lp h.txt
CUPS understands many different types of files directly, including text, ...
2
votes
4
answers
2k
views
Modify an SVG file based on information in a CSV file
I've got a SVG file of the map of the US and I want to add colors to it. Because it would take me to much time, I thought I could use a bash script. I have also another file containing the states and ...
1
vote
0
answers
155
views
Can gedit highlight element of svg stucture? [closed]
Gedit can show matching parenthesis. Can it do the same with tags of an SVG file ?
For example when I mark <text> I need to find closing </text> tag.
10
votes
1
answer
6k
views
Crop SVG drawing to canvas size in command line
I have SVG images produced by PlantUML, which has some parts of drawing outside of canvas. It makes it difficult to use such images and I need to crop drawing to canvas size. As I produce UML diagrams ...
16
votes
5
answers
19k
views
How to batch convert bitmaps to SVGs?
I have many gray scale bitmaps that I need to convert to a vector format, such as SVG. I have been using Inkscape, which gives nice results, but this takes about 10-15 minutes to open, convert, and ...
7
votes
4
answers
5k
views
Are there any multiformat image viewers, which are similar to feh and can show SVG files?
At the moment I'm working with a lot of SVG files and I don't have a good tool to inspect this files.
Normally I use feh to take a look at an image, but feh can't show SVG files.
Now I'm looking for ...
0
votes
1
answer
3k
views
Convert SVG to PDF in python [closed]
I am trying to convert an SVG file to PDF in python using the svglib and reportlab packages. Here is the SVG file.
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG ...
3
votes
1
answer
586
views
Icon themes, when is svg format helpful?
I found that arch provides both oxygen-icons and oxygen-icons-svg, what's the necessity of svg format? Is there something that a PNG image "can't do", maybe performance issue?
Not sure about it.
2
votes
2
answers
2k
views
Error opening file with Inkscape
I'm working on some maps I badly need for my MA thesis, using Inkscape, based on a map from Wikimedia Commons.
I've opened the original SVG file, edited it and saved it. After closing Inkscape ...
8
votes
3
answers
8k
views
Print an SVG from the command line
How can I print an SVG, already scaled to a4 size, from the command line?
I tried using lpr, but instead the printer just printed out the actual XML of the file, which isn't what I wanted.