librsvg Questions

4

Solved

I know this question has several answered version here (like this: ImageMagick convert SVG to PNG not working with RSVG enabled ), but actually I can't find a real solution to my exact problem. My ...
Farny asked 1/7, 2014 at 14:49

5

I'm using Cairo/RSVG based solution for rasterizing SVG to PNG. It's already beeb described on StackOverflow in Convert SVG to PNG in Python. However, this solution doesn't seem to work with custom...
Jeremyjerez asked 6/9, 2011 at 13:57

3

Solved

When rasterizing svg file, I would like to be able to set width and height for the resulting png file. With the following code, only the canvas is set to the desired width and height, the actual im...
Potsdam asked 27/7, 2009 at 10:0

3

I am currently using canvg() and Canvas2Image to copy my SVG to a canvas and then convert the canvas to PNG. I would like to maintain the image format and not use PDF. How can I maintain the CSS i...
Eboni asked 5/12, 2013 at 7:33

4

Solved

I use the python rsvg bindings to render an svg image into cairo and save to file, which mostly works. But if the svg file contains a linked image, like so: <image href="static/usrimgs/tmpDtIKp...
Unfounded asked 2/6, 2010 at 21:11

0

I've got an SVG image as follows that I'm trying to convert to a PNG: <?xml version="1.0"?> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <im...
Cinchonidine asked 14/10, 2014 at 15:37

0

We were using rsvg-convert for SVG to PDF conversion and it was working like a charm, till we encountered text. Here's an example- Command: rsvg-convert -w 842 -f pdf -o testing.pdf testing.svg ...
Emlynne asked 28/2, 2014 at 2:20

1

I'me trying to use ImageMagick to convert SVG files to PNG. The SVG file is as follows: <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"> &l...
Theorist asked 22/5, 2013 at 22:53

2

I'm trying to wrap basic function of librsvg with ctypes for Python, but I'm getting a segfault. C: // pycairo excerpt typedef struct { PyObject_HEAD cairo_t *ctx; PyObject *base; /* base obje...
Redwine asked 26/5, 2011 at 17:38

3

Solved

Yesterday I updated to Mountain Lion and I wanted to start my rails app and had some problems with Rmagick gem. After reading on the net I did the following : Installed Xcode 4.4 Installed develo...
Fugacity asked 31/7, 2012 at 10:48

3

Solved

I am looking for a library written either in C or C++ which can convert the svg to image formats. I came across inkscape which converts svg to images. but to use this I must run inkscape as ...
Dorm asked 13/9, 2011 at 8:9

2

I'm looking to use the python library rsvg for converting an SVG graphic to other formats (mainly PDF) and cannot seem to find the python-librsvg source to download and install on Mac OSX anywhere....
Trashy asked 13/7, 2011 at 18:56

2

I am on a Mac using Mac OS X 10.5, and I am trying to use ImageMagick to convert an SVG file to a PNG. The problem is when I use it the rotated image doesn't show up in the correct positi...
Arianearianie asked 20/5, 2011 at 7:25
1

© 2022 - 2024 — McMap. All rights reserved.