Top Qs
Timeline
Chat
Perspective

Librsvg

SVG rendering library From Wikipedia, the free encyclopedia

Remove ads

librsvg, (occasionally stylized as LibRsvg)[2] is a free software SVG rendering library written as part of the GNOME project, intended to be lightweight and portable.[3] The Linux command-line program rsvg-convert uses the library to turn SVG files into raster images.

Quick Facts Original author(s), Developer(s) ...
Remove ads

Backends

librsvg uses two other libraries to perform tasks from reading the file to rendering to the screen:

  • libxml is used to parse the XML representation of an SVG file into a form that can be accessed quickly by the library.
  • cairo is used to render the information obtained by libxml to a block of memory.

Since v2.41.0 many parts have been rewritten in Rust.[4][5]

Adoption

Summarize
Perspective

librsvg is developed for the GNOME desktop environment and as such is used by GNOME Files and GNOME Loupe but is also intended to be used in other software applications. As a notable example, wikis hosted by Wikimedia use librsvg to render SVG images.[6] It was once picked for these web applications because it was decidedly "fast but not very accurate", according to MediaWiki.[7] As of March 2025, Wikipedia and Wikimedia Commons use a version of librsvg 2.54 to render SVG as PNG.[8][9]

Upon switching to the cairo vector rendering engine in 2005,[10][11] librsvg became more accurate and more visually pleasing. Since 2012 an independent developer published Win32 console ports rsvg-convert.exe, as of December 2017 version 2.40.20.[12] The rsvg-view manual page is also available online.[13]

Version history

More information Version, Date ...
Remove ads

References

Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.

Remove ads