vector-graphics Questions

0

I have vertical wind data in masked array format, which I want to plot it into vector form. masked_array( data=[[-4.06932000e-04, -4.06932000e-04, -5.70601827e-04, ..., -2.43262173e-04, -2.432621...

5

Solved

I can successfully create QR Code PNG images with ZXing but there is no easy way to get the output as SVG or EPS. How can I create a vector image from the BitMatrix object that is created by the Q...
Redeem asked 28/5, 2012 at 18:38

4

Solved

I am using a drop shadow filter inside an SVG file that is embedded using an img tag. On my MacBook, it looks fine in Safari. However, in mobile Safari, the graphic gets really pixelated and loses ...
Swore asked 2/2, 2013 at 17:19

5

If a person is looking to batch convert a large number of raster images into vector graphics, are there any tools out there that do that well? For an example, think of just about any diagram that ...
Journalize asked 9/10, 2008 at 18:58

4

Solved

I would like to plot a vector field with curved arrows in python, as can be done in vfplot (see below) or IDL. You can get close in matplotlib, but using quiver() limits you to straight vectors...

3

Patches in Matlab are glued together from individual triangles. Their edges are normally not visible, but when I export the figure in a vector graphics format they can clearly be seen (not the whol...
Tropism asked 23/4, 2015 at 13:20

2

Solved

I am working on a ray tracer and I got around to adding cylinders to the scene. The point I am stuck at is finding the surface normal vector in the point the ray hits. I need this to be able to do ...
Unstick asked 28/3, 2016 at 16:21

5

Solved

Unity's roadmap stated that we should be able to import SVG in Unity 2018.2. I have Unity 2018.2.3, but I couldn't use SVGs to Unity. Unity doesn't recognize they are sprites. Please can anyone tel...
Hexapartite asked 28/9, 2018 at 20:4

8

Solved

My and a friend are working on a 2D game where the graphics will be .svg files and we will scale them appropriately either by rasterizing them first, or rendering them directly on a surface (which ...
Evildoer asked 14/11, 2010 at 7:49

8

Solved

I have problem with google maps BitmapDescriptor while creating icon for MarkerOptions using VectorDrawable, API 5.0+ Method used for creation: @NonNull private BitmapDescriptor getBitmapDescript...
Bundy asked 5/11, 2015 at 15:24

5

Solved

To get the center, I have tried, for each vertex, to add to the total, divide by the number of vertices. I've also tried to find the topmost, bottommost -> get midpoint... find leftmost, rightmost...
Oracular asked 8/5, 2010 at 0:34

4

I want to generate a vector plot with matplotlib. I tried hard - but the output is a raster image. Here's what I use: import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt and ...
Manners asked 13/2, 2012 at 18:50

4

Solved

I want to create an app that will display position on some floor plan. Navigation is implementing via WiFi in certain way, I've done it and so now I have a problem of displaying floor plan. It mi...
Tough asked 18/7, 2012 at 6:52

3

I'm adding vector drawable support to a library project, and using app:srcCompat to reference the vector drawable. The only view that appears to work is ImageButton and I'm not sure why. Here's th...
Fosterling asked 23/6, 2016 at 23:32

5

Solved

With the support library now fully supporting vector images, I'm trying to switch to vector images as much as I can in my app. An issue I'm running into is that it seems impossible to repeat them. ...
Steinway asked 17/3, 2016 at 10:19

4

Is there any way to slice an SVG . I mean any already available lib . I need to implement this slicing component in Java. I mean , I have single SVG file and based rulers/scales i choose graphical...
Marler asked 8/7, 2009 at 14:8

6

Solved

Microsoft recently added SVG support to Word 2016. But when trying to save a document containing a SVG vector graphic as PDF the graphic will be converted to a raster image. I tried to chang...
Stephen asked 18/5, 2017 at 17:58

3

Solved

I have a vector image that I've defined in XAML. What is the proper way to use this resource in a WPF application? I want to have the vector image in its own XAML file, and then add the image to o...
Briannabrianne asked 17/6, 2009 at 13:57

0

I want to do a non-linear transformation of a svg in python. My specific problem is to transform a rectangular svg image into a frustum like image, for which i have a mathematical equation of the f...
Metope asked 29/12, 2019 at 7:59

1

Solved

In the BGI library's "graphics.h" header there is a function pieslice in that header file,its syntax is: #include <graphics.h> void pieslice(int x, int y, int stangle, int endangle, int rad...
Vedda asked 3/10, 2019 at 15:44

2

Solved

So, it appears to be fairly easy to do pinch zoom in android - but I would also like to be able to snap back the image when it goes out of bounds, and to do that the most reasonable thing seems to ...
Edith asked 4/3, 2011 at 19:6

8

Solved

How can I sort an array of points/vectors by counter-clockwise increasing angle from a given axis vector? For example: If 0 is the axis vector I would expect the sorted array to be in the order...
Peek asked 14/10, 2011 at 22:29

0

I have PDF image assets from an iOS project that I need to add to an Android Studio project. Is it possible to add PDFs to Android studio, or do I have to use an external converter like Gimp or Ill...

2

Solved

I need a variable-height svg-graphic for a ticket with serrated edges. The top and bottom segments should scale to size maintaining a fixed aspect ratio while the middle segment should stretch to f...
Fug asked 20/2, 2016 at 14:52

7

Solved

One of the advantages of Flash/Flex is that you can use vector graphics (SVG), which is nice. I did a bit of searching around and came across this Javascript vector graphics library. It's pretty si...
Incur asked 4/1, 2009 at 0:20

© 2022 - 2024 — McMap. All rights reserved.