Skip to main content

Questions tagged [svg]

Scalable Vector Graphics (SVG) is a family of specifications of an XML-based file format for two-dimensional vector graphics.

Filter by
Sorted by
Tagged with
2 votes
1 answer
30 views

Linux console plain text SVG display or preview

I am working on a remote system (Ubuntu) for which I don't have a graphical display. I have generated some SVG images and I am interested in previewing them to get an approximate idea of whether or ...
Robert Dodier's user avatar
1 vote
1 answer
32 views

printing svg causes image to resize

I used inkscape 1.3.2 to create an svg that is 215.9 x 279.4mm (8.5x11in). The svg contains nothing but a single bitmap and nothing else. The bitmap is sized to 63 x 88mm. When I print this file in ...
raphael75's user avatar
  • 167
0 votes
1 answer
454 views

How to invert an SVG image?

I’m searching for a solution (in Linux console) which “inverts” an SVG. It shall take an input .svg and generate output .svg with multiple shapes, each one filling a single transparent area. And vice ...
Ivanov's user avatar
  • 1
1 vote
1 answer
303 views

Why can I not create a hole with this SVG path?

Here is the SVG path. I am expecting a hole in the shape, but it does not seem to work. I cannot figure out why: M70,20 L80,35 75,45 90,55 95,50 105,60 85,80 90,90 80,100 50,70 45,70 30,55 50,30 55,35 ...
lukehawk's user avatar
  • 125
1 vote
2 answers
694 views

Preserving transparent colors when converting svg to png

I have an SVG file that contains transparent colors like "#FF000080". When I convert the SVG to PNG using ImageMagick, the transparent colors are converted to black. (Any colors without an ...
user avatar
0 votes
0 answers
27 views

identify PNGs in SVG's clothing

I sometimes encounter "faux" SVGs, i.e., SVG images files that simply list pixels as paths: <svg xmlns="http://www.w3.org/2000/svg" width="1295" height="573"&...
Nico Schlömer's user avatar
2 votes
0 answers
108 views

How to make graphic more or less detailed depending on zoom-level (similar to how Google Maps works)?

Not sure if this is the right site to ask this question. If not, maybe some admin can move it? Are there some file formats (Or is this a software thing?), such as SVG or PDF, that supports reducing/...
d-b's user avatar
  • 844
0 votes
1 answer
66 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://...
con's user avatar
  • 115
1 vote
1 answer
231 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 ...
JRI's user avatar
  • 867
0 votes
2 answers
53 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 ...
user avatar
0 votes
1 answer
552 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;...
Nico Schlömer's user avatar
1 vote
0 answers
26 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 ...
joshzee's user avatar
  • 11
2 votes
0 answers
109 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 ...
senops's user avatar
  • 49
0 votes
1 answer
325 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\...
John's user avatar
  • 3
0 votes
2 answers
285 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, ...
user254694's user avatar
  • 1,205
1 vote
1 answer
1k 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 ...
MechMK1's user avatar
  • 1,614
0 votes
1 answer
5k 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 ...
serge's user avatar
  • 733
0 votes
1 answer
150 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. ...
einpoklum's user avatar
  • 9,964
0 votes
1 answer
578 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", ...
RajS's user avatar
  • 251
0 votes
1 answer
100 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 ...
JΛYDΞV's user avatar
  • 1,168
1 vote
0 answers
104 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 ...
a.t.'s user avatar
  • 433
1 vote
1 answer
1k 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....
oberlies's user avatar
  • 706
1 vote
1 answer
467 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 ...
Shailesh Joshi's user avatar
2 votes
1 answer
666 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.
Lily's user avatar
  • 21
0 votes
0 answers
40 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 ...
Kafka4PresidentNow's user avatar
1 vote
0 answers
192 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 ...
Ooker's user avatar
  • 2,149
0 votes
0 answers
248 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 ...
DrDress's user avatar
  • 101
0 votes
1 answer
711 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 ...
Robert Dodier's user avatar
3 votes
1 answer
6k 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 ...
jost21's user avatar
  • 797
3 votes
1 answer
10k 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 ...
goldnick7's user avatar
  • 440
2 votes
0 answers
741 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 ...
A. Minott's user avatar
1 vote
1 answer
1k 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 ...
Joce's user avatar
  • 1,070
2 votes
2 answers
3k 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 ...
Festus's user avatar
  • 21
7 votes
2 answers
6k 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 ...
sdbbs's user avatar
  • 1,422
1 vote
0 answers
190 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 ...
Johannes's user avatar
0 votes
1 answer
410 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 ...
Andrew Wiseman's user avatar
0 votes
1 answer
2k 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 ...
Ilias Machairas's user avatar
8 votes
5 answers
6k 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 ...
Cerin's user avatar
  • 9,302
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?, there are still problems which hinders the preview of the SVG icons in Windows Explorer. Is there any solution to make it ...
Manghud's user avatar
  • 101
8 votes
1 answer
4k 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 ...
0x90's user avatar
  • 332
2 votes
1 answer
572 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 ...
Métoule's user avatar
  • 123
0 votes
1 answer
313 views

Inkscape: cloning object to other file

Is object cloning (Alt+D) between files possible in Inkscape/SVG?
g2mk's user avatar
  • 1,438
1 vote
1 answer
2k 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 ...
Anthony Kong's user avatar
  • 5,098
8 votes
1 answer
3k 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,...
user avatar
0 votes
1 answer
1k 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 ...
chrizbee's user avatar
1 vote
1 answer
17k 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 ...
StayOnTarget's user avatar
  • 1,337
1 vote
1 answer
172 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 ...
modulitos's user avatar
  • 534
0 votes
1 answer
50 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 ...
lmsm3's user avatar
  • 103
0 votes
0 answers
269 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....
Exocomp's user avatar
  • 141
1 vote
2 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, ...
Vizor 's user avatar
  • 61