Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A library to convert svg to images? [closed]

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 a process and this not the solution I am after.

I need the library to run on both Windows and Linux as well.

I am after a C or C++ library. If it was with Java I would have used Apache's Batik rasterizer.

like image 295
Ashwin Avatar asked Sep 13 '11 08:09

Ashwin


2 Answers

For image libray, you can use ImageMagick, which is quite popular and it support many types of image.

like image 171
dip Avatar answered Oct 29 '22 01:10

dip


The canonical library to render SVG is librsvg. You may want to check that out.

like image 45
cyco130 Avatar answered Oct 29 '22 01:10

cyco130