Questions tagged [svg]
Scalable Vector Graphics (SVG) is a family of specifications of an XML-based file format for two-dimensional vector graphics.
183
questions
0
votes
1
answer
15
views
how to extract SVG properties?
I am viewing an SVG file in the file-viewing application "Eye of Mate", which shows the following SVG properties:
however, when searching the fields, I see
<svg xmlns:xlink="http://...
1
vote
0
answers
41
views
How should I control tooltips in SVG files exported from Visio?
I have drawn some diagrams in Visio that I want to export to SVG, to embed into a web page. Some elements of the diagrams will be hyperlinked (mainly callout text). When I export the diagram to SVG ...
0
votes
1
answer
20
views
How can I import an svg image in new Figma
I am not finding the import option in new figma design and I am facing difficulties.
I tried to find import image from main menu option but place image option is missing now
so its creating ...
0
votes
1
answer
128
views
Rotate an SVG by 90 degrees on the command line
I have an SVG that I'd like to rotate by 90 degrees counterclockwise on the command line.
With Inkscape 1.2.2, I tried
inkscape --actions "select-all;transform-rotate=90;export-filename:out.svg;...
0
votes
0
answers
42
views
Using SVG in MS Word gives it black background
I have a following SVG which renders properly in browser:
You can download it here
When I try to copy paste it in the MS Word, it renders with black background:
How can I use it in Word doc, without ...
0
votes
0
answers
27
views
How can I remove the "symbol" element from a SVG but preserve the "path" element (in bulk)? The Equivalent to "Break Link" in Illustrator
Example SVG:
<svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg"
class="mds-icon mds-doc-icon-swatch__icon" width="15" ...
1
vote
0
answers
24
views
SVGs looking broken across sites (FB, LinkedIn, S.O etc)
So out of nowhere, I turned on my monitor and SVGs across sites in Google Chrome (up-to-date) look broken. Sometimes they're normal until hover, sometimes they're fine after a system restart. I can't ...
0
votes
0
answers
46
views
MS Visio: how to add arrows to SVG path?
I need your help.
I have an SVG file containing (among the others) the line and path objects. What I need to do is to import this SVG into MS Visio and then add arrowheadss to these imported lines ...
1
vote
0
answers
64
views
Keep transparency when saving svg animation to apng sequence
Is there a way to do this on Windows? I tried ImageMagick with no luck. Some programs work for static svg files, but I haven't found a way to do this for svg animations.
I have an animation file in ...
0
votes
0
answers
89
views
Possible to set SVG width/height in browser's address bar with a URL parameter?
To preview SVG images, sometimes I want to just enter the URL of the image in the browser's address bar. (I use chrome usually.) Often the image is presented too small, but also occasionally too ...
0
votes
1
answer
164
views
how can I convert svg xml code to image, using bash script in linux
I have a xml file which is xml code of captcha image. how can I convert it to regular image in bash script.
<svg xmlns="http://www.w3.org/2000/svg\" width="150\" height="50\...
0
votes
2
answers
144
views
can graphviz group output of svg
I have the following .dot file for graphviz
digraph example {
node [fontsize=24, shape = plaintext];
1940 -> 1950;
1950 -> 1955;
1955 -> 1960;
node [fontsize=20, ...
1
vote
1
answer
499
views
How can I export a PDF from a Word document, which contains an SVG file with a gradient?
I am currently using Word 365, version 2207. The document I am editing contains an SVG file, which in turn contains a <radialGradient> element. When I import this SVG file into Word, the picture ...
0
votes
1
answer
3k
views
Insert SVG in email signature
Is there a way, in Outlook, to insert the SVG vector picture(logo) instead of JPEG/PNG one, and use it in a signature?
I tried but it want me to convert the SVG into another format, I would like to ...
0
votes
1
answer
102
views
How to get text glow to properly export to SVG?
I have an Excel chart with some color regions and Black text over them, and I use a "glow" effect, with White color for the glow, to differentiate them from the background. So far, so good.
...
0
votes
1
answer
241
views
Bulk convert SVG to EMF
I have several SVG images which I want to bulk convert to EMF (and possibly WMF also) format. Here is one of the images.
I tried all online tools in first page of google search "svg to emf", ...
0
votes
1
answer
47
views
Converting a group of Scalable Vector Graphics (SVG) into Web Font Format, aka a WOFF font
I am looking for a way to SVG graphics into a WOFF font. A software solution would be ideal for the use case, though I would welcome a programatic solution if the lib/api/module (whatever it is) is ...
1
vote
0
answers
85
views
How to display recursive geometric image in browser with infinite zooming? [closed]
Context
Suppose one has a pentagonal tiling where each plane is also made up of a pentagonal tiling (if that is not possible, assume cubic). Suppose each parent is x times larger than its child. Then ...
1
vote
1
answer
680
views
PDF export from Word changes line width of thin lines in embedded SVG
I have inserted some SVG files with complex plots in my Word document. The plots use different line withs, some of them quite thin.
After inserting the SVG in Word, the line widths are shown correctly....
1
vote
1
answer
273
views
Inkscape SVG transform
I am trying to open an svg file with Inkscape. The svg elements have transform properties. Any browser can display the image withut a problem. However, when Inkscape opens the image,all the element ...
2
votes
1
answer
517
views
Font of texts changed when images save as SVG in Adobe illustrator
I create an image with texts in Arial font. then save the image as SVG. Upload SVG to AEM. insert SVG to topic. print topic to PDF. The font of texts are changed.
0
votes
0
answers
30
views
How to know how many times a font is used in a single PDF page?
I know how to list fonts used in an single PDF page and how to identify which tends to output garbled text when text extraction is performed. I'd like to know how to count how many times each font in ...
1
vote
0
answers
127
views
Why does Inkscape not preserve Unicode text when importing PDF?
I have a PDF made from Word, and importing it into Inkscape. The text (which are non-ASCII) doesn't correct. Here is the original:
And here is the imported:
Moreover, if I edit the text, it behaves ...
0
votes
0
answers
123
views
Inkscape: joining arcs and curves
I saw a similar question answered about 10 years ago. But I can't get it to work. I want to join an elliptic arc to a bezier curve so they are a single path. I know SVG supports this. I want to use ...
0
votes
0
answers
2k
views
Why are matplotlib labels not editable in inkscape?
There is a related question here. I generate a graph using the following code:
import numpy as np
import matplotlib.pyplot as plt
WALK_LENGTH = 1_000
random_signs = np.random.choice([-1,1], ...
0
votes
1
answer
478
views
Import SVG in MS Word for Mac with current version, viewing with older version
I have some SVG figures and I find that MS Word for Mac, version 16.16.10 (copyright 2018), can import SVG successfully. So far, so good.
Are older versions of MS Word, for any platform, able to view ...
3
votes
1
answer
4k
views
Is there a way to convert SVG to EPS on Linux and retain gradients and transparency?
I'm using Inkscape to do graphic design on Linux and I'm quite happy with it and SVG files. Unfortunately, a client requests an * EPS* file. The designed logo contains gradients and the client also ...
2
votes
1
answer
7k
views
How to convert svg to png with ffmpeg?
Is there a way to convert svg files to png using ffmpeg on Windows 10 64bit?
I obviously tried ffmpeg -i "file.svg" "file.png" and it doesn't work by default.
Perhaps there is ...
2
votes
0
answers
391
views
Why does InkScape apparently produce incorrect SVG files, and how to fix it?
After making a logo in InkScape 1.0.1 (also tried with 1.0.2, the latest version), "Save as" optimized SVG, it produces an .svg file which renders in my browser but fails validation with the ...
1
vote
1
answer
998
views
Display a tooltip onmouseover in Inkscape-generated image
I'd like a tooltip with some text to be displayed when mouse is over some graphical element in a media I create with Inkscape, ideally a PDF, but I could use an SVG.
I believe this is possible, since ...
1
vote
2
answers
2k
views
Preserve SVG with gradients after PDF export from Word
Whenever I need to create a template for business documents (e. g. concept papers or documentation), I have to place some generic graphics such as the company's logo here and there. Since Microsoft ...
6
votes
2
answers
5k
views
Converting SVG 1.1 to 1.0?
Ok, so using draw.io desktop, I start a new Blank diagram, and draw just a single textbox with two lines of text inside:
Then I do File/Export as/SVG..., choose Zoom 100%, uncheck "Include a ...
1
vote
0
answers
146
views
SVG Export - Line Patterns not showing
I am using visio to create technical drawings. My further workflow depends on using the svg export of this drawing. However, I stumbled into the following problem. The custom line patterns are not ...
0
votes
1
answer
328
views
SVG clipPath sometimes clips in Windows & IE but not in Chrome/Edge/Firefox?
Here's an example some SVG - with a yellow ring shown next to a red semi-circle. The semi-circle is then transformed and used as a clipPath to hide some of the yellow ring - leaving an arc.
It works ...
0
votes
1
answer
1k
views
MS PowerPoint distorted an imported svg image
I have created an SVG image via Inkspace and I imported it in Powerpoint via drag and drop. I have resized and cropped it as well. I opened the PowerPoint file which included the SVG after some days ...
8
votes
5
answers
5k
views
How to crop SVG?
How do you crop all empty space from an SVG file, specifically from the command line?
I have several SVG files formatted to the standard A2 letter document size, and I need to bulk crop them down so ...
0
votes
1
answer
2k
views
Why SVG viewer extension fails to show preview of SVG files in windows explorer?
After following the answer on how to get SVG thumbnails in windows explorer
1: How to get SVG thumbnails in Windows Explorer?, there are still problems which hinders the preview of the SVG icons in ...
7
votes
1
answer
3k
views
How to retain color when using Potrace?
I have a .ppm file which is colored and when I am running Potrace:
potrace -s file.ppm
It returns only a white and black .svg file. If I do it on inkspace it keeps the colors.
If it helps this is ...
2
votes
1
answer
400
views
Inkscape: save svg file without pretty print?
I have an SVG file created from Powerpoint that I now want to edit in Inkscape. When opening and saving that file in Inkscape, with no modification, the file size goes from 120kB to 170kB (I'm saving ...
0
votes
1
answer
269
views
Inkscape: cloning object to other file
Is object cloning (Alt+D) between files possible in Inkscape/SVG?
1
vote
1
answer
1k
views
How to convert the svg outcome to png?
I am using this package to generate a sequence diagram
https://github.com/francoislaberge/diagrams
Here is a very simple sequence diagram file:
Alice->Bob:Hello
I ran this command
diagrams ...
8
votes
1
answer
2k
views
Inkscape: Convert fill pattern to path
How can I convert a fill pattern, e.g. 'wavy' to a path, so I can edit it as a path, change colour, etc.? I tried Path > Object to Path, it doesn't do anything. I also tried tricks, like export to PDF,...
0
votes
1
answer
725
views
Microsoft Office Word 365 Border around SVG graphics
I have exported my Illustrator file as an SVG and successfully imported it in Word 365. Now I want to create a black border around the graphic (in word).
Whenever I try to do so it just changes the ...
0
votes
1
answer
11k
views
Is it possible to copy SVG 'objects' from a web page into a drawing program?
I've been using http://www.webgraphviz.com/ to generate some graphs. That page works by dynamically rendering SVG into the HTML of the same page.
I'd like to be able to copy the SVG images from the ...
1
vote
1
answer
131
views
Font names aren't aligning between SVG and TTF files?
I downloaded a "Fredoka One" font here: https://fonts.google.com/specimen/Fredoka+One?selection.family=Fredoka+One
and installed the TTF file on my system (ie mv FredoakOne-Regular.ttf ~/.fonts/, and ...
0
votes
1
answer
42
views
Inkscape: Complete Path with Object
Example: I have a Circle and on top of that a Path.
The Path touches the Circle at both Ends and forms some shape inside the circle.
I now want to complete the Shape with the Edge of the Circle so ...
0
votes
0
answers
220
views
Firefox CSS / SVG filters don't show up
I'm trying to determine why Firefox is not displaying any CSS filters (or SVG), for example just visit the doc below, can someone let me know if there is a setting to enable?
https://developer....
1
vote
0
answers
4k
views
How to enable svg preview in file explorer?
I want to preview .svg files in file explorer. I've been trying to use the file explorer extension available here in github, but to no avail. My Windows version is Windows 10 Home (more specifically, ...
12
votes
1
answer
4k
views
How can I convert all .svg files in a directory to .pdf on Linux in the commandline
When I have a directory full of .svg files, e.g. from Inkscape, how is it possible to convert them to .pdf files?
Similar to this approach for a single file, but as a batch command for a whole ...
1
vote
0
answers
436
views
Shrink (scale) an SVG image via command line, while preserving its size
How can I shrink the content within an SVG file from the command line? I'd like the output to have the same default width and height, but be smaller. I'd also like for the scaling to be relative to ...