Skip to main content

Questions tagged [vector-graphics]

Vector graphics is the use of geometrical primitives such as points, lines, curves, and shapes or polygon(s), which are all based on mathematical equations, to represent images in computer graphics. Images are drawn at run-time from the information stored, and so vector images do not get distorted after zoom/resize etc.

vector-graphics
6 votes
3 answers
4k views

SVG background-image blurriness in Chrome with repeating background

An SVG background is appearing Blurry in Chrome and other Blink/webkit based browsers: Screenshot of a portion of the SVG in Chrome: Screenshot of a portion of the SVG in Firefox: This only happens ...
0 votes
1 answer
3k views

Converting an svg with fill-rule="evenodd" to fill-rule="nonzero" [closed]

I have a SVG with a single path with fill-rule="even-odd" applied. I need to convert it to a font and to do that I would need to use an SVG without fill-rule="even-odd". So I was ...
1 vote
0 answers
33 views

How to make take-vector-screenshot work with PyCharm (under Ubuntu 22.04)?

My goal is to take vector screenshots of my Python development IDE. I am using PyCharm community edition under Ubuntu 22.04. I have the package gtk-vector-screenshot installed (see https://launchpad....
5 votes
1 answer
117 views

How to find the greatest possible euclidean distance we can achieve by moving using given set of vectors

That's a problem from Polish Olympiad in Informatics, called Pionek (PIO). Given a set of not unique vectors, find the greatest possible euclidean distance in reference to (0,0) point you can achieve ...
2 votes
2 answers
299 views

Bitmap-render part of plot during vector-graphics export in MATLAB

I have a quite complex function that I plot using fsurf with a reasonably high MeshDensity (I cannot go much lower than the default, which is 35). Exporting this figure (saveas(gcf, 'file.pdf', 'pdf');...
0 votes
0 answers
51 views

SVG Path: Have a non-scaling cruve with scaling lines

As usual, the question indicated as a duplicate has outdated or incoherent answers This question is about SVGs I'm not interested by "hacks" with box shadows or pseudo elements, they ...
2 votes
3 answers
3k views

Extracting Width/Height Dimensions from EMF Image Files

I maintain a small Perl library that extracts width/height from images, for people who want that functionality without using a larger, more generalized library. I've been asked if I can support the ...
72 votes
8 answers
64k views

Xcode 6 allows VECTOR image assets... how to use them?

I was fiddling with Xcode 6 vs images assets when I noticed something very interesting: we now can specify vector images in them (go see in the Utilities pane after selecting Images.xcassets). I ...
0 votes
0 answers
43 views

ERROR org.geoserver.platform.ServiceException: Creating maps using application/vnd.mapbox-vector-tile is not allowed

After installing tiling vectortiles plugin to geoserver .2.25 we have got an error 08 Apr 15:29:48 ERROR [geowebcache.GeoWebCacheDispatcher] - Problem communicating with GeoServer http://geo.server....
1 vote
2 answers
8k views

Is there is any module to visualize dxf file in python?

I have searched dxf-related module to generate dxf with python and found ezdxf and geopandas, and drawSVG as similar case. I failed to install geopandas for unknown reason and I install the rest two. ...
0 votes
1 answer
62 views

Replacing raster images in a PDF with vector images

I'm looking to do the exact opposite of what this person wanted to do: Replacing vector images in a PDF with raster images In other words, I want to take pdfs with a mix of raster and vector images ...
13 votes
2 answers
39k views

Extracting SVG HTML paths back to SVG files from a website

Is there any way to quickly extract SVG assets on a website including SVG HTML paths back to SVG files. Any apps, dev tools, extensions that lets you do this?
26 votes
5 answers
61k views

PIL and vectorbased graphics

I run into several problems when I try to open EPS- or SVG-Images with PIL. Opening EPS from PIL import Image test = Image.open('test.eps') ends in: Traceback (most recent call last): File "&...
0 votes
0 answers
81 views

Generating random SVG arrow shapes

So I have a task, which intends to generate random SVG images of curved entangled arrows. Here are few examples of the expected output: Example 1 Example 2 Example 3 There are few main requirements: ...
71 votes
4 answers
107k views

Drawing SVG in .NET/C#? [closed]

I'd like to generate an SVG file using C#. I already have code to draw them in PNG and EMF formats (using framework's standard class System.Drawing.Imaging.Metafile and ZedGraph). What could you ...

15 30 50 per page
1
2 3 4 5
77