Original author(s) | Raph Levien |
---|---|
Developer(s) | GNOME Project |
Stable release | 2.40.18(20 July 2017 | )
Development status | Active |
Written in | C, Rust |
Operating system | Cross-platform |
Type | Graphics library |
License | GNU LGPL, GNU GPL |
Website |
librsvg is a free software SVG rendering library written as part of the GNOME project, intended to be lightweight and portable. The Linux command-line program rsvg uses the library to turn SVG files into raster images.
librsvg uses two other libraries to perform tasks from reading the file to rendering to the screen.
Upon switching to the cairo vector rendering engine in 2005, librsvg became more accurate and more visually pleasing. Since 2012 an independent developer published Win32 console ports rsvg-convert.exe, as of March 2016[update] version 2.40.13. The rsvg-view manual page is also available online.
On Linux, an SVG file can be converted to PNG as follows:
Other supported output formats include PDF and XML.