Skip to content
EntityQ286024· pop 10· linked from 186 articles

librsvg, (occasionally stylized as 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-convert uses the library to turn SVG files into raster images.

Key facts

Software.name
librsvg
Software.logo
Librsvg icon.svg
Software.logo_size
100px
Software.author
Raph Levien
Software.developer
GNOME Project
Software.programming language
C, Rust
Software.genre
Graphics library
Software.license
GPLv2, LGPLv2

via Wikipedia infobox

Source code

Supported SVG/CSS features: Please see the chapter for [supported features][features] in the development guide. PLEASE DO NOT SEND PULL REQUESTS TO GITHUB. We use gitlab.gnome.org instead. Please see [Contributing to librsvg][contributing] for details. Older versions are not supported. Please try a newer version before reporting bugs or missing features. Since librsvg 2.55.x, all release streams are considered stable, not just ones with an even minor version number. A micro version starting at 90 means a beta release. For example: Compiling: Librsvg uses the [meson] build system. Compile-time options are listed in the file [ meson options.txt ][meson options]. Please refer to the [Detailed compilation instructions][compiling] in the development guide. Documentation: You can read the documentation for librsvg's [C API][c-docs] or the [Rust API][rust-docs]. Please [file an issue][reporting-bugs] if you don't find something there that you need. Bug tracking: If you have found a bug, take a look at [our bug tracker][bugs]. Please see the "[reporting bugs][reporting-bugs]" page in the development guide to see how to provide a good bug report. Asking questions: Feel free to ask questions about using librsvg in the "Platform" category of [GNOME's Discourse][discourse]. You can also ask via chat in the Matrix room for [GNOME Rust][gnome-rust]. Programming languages: Librsvg exports its API through [GObject Introspection][gi]. This way, it is available in many programming languages other than C. Please see your language binding's documentation for information on how to load the Rsvg namespace. Security: For a list of releases with security issues, instructions on reporting security-related bugs, and the security considerations for librsvg's dependencies, see the [Security chapter][security] in the development guide. Please see the [Development Guide for librsvg][devel-guide] on how to contribute to librsvg, how to report bugs, how set up your development environment, and for a description of librsvg's architecture. Librsvg aims to be a low-footprint library for rendering SVG1.1 and SVG2 images. It is used primarily in the GNOME project to render SVG icons and vector images that appear on the desktop. It is also used in Wikimedia to render the SVG images that appear in Wikipedia, so that even old web browsers can display them. Many projects which casually need to render static SVG images use librsvg. You can read about librsvg's [supported SVG and CSS features][features] in the development guide. Librsvg is part of the [GNOME platform][platform]. Inside GNOME, librsvg takes multiple roles: Loads SVGs from the generic gdk-pixbuf loader infrastructure, so any application which uses gdk-pixbuf can load SVGs as if they were raster images. Wikipedia, to render SVGs as raster images for old browsers. Special thanks to Wikimedia for providing excellent bug reports. The maintainer of librsvg is [Federico Mena Quintero][federico]. Feel free to contact me for any questions you may have about librsvg, both its usage and its development. You can contact me in the following ways: I frequently [blog about librsvg][blog]. You may be interested in the articles about porting librsvg from C to Rust, which happened between 2016 and 2020. [svg]: [gnome]: [cairo]: [coc]: [coc-local]: code-of-conduct.md [meson]: [meson options]: meson options.txt [compiling]: [mail]: mailto:[email protected] [bugs]: [gi]: [contributing]: [reporting-bugs]: [discourse]: [federico]: [platform]: [guadec-presentation-1]: [guadec-presentation-2]: [gnome-hackers]: [gnome-rust]: [devel-guide]: [security]: [features]: [versions]: [blog]:

Excerpt from the source-code README · 8,370 chars · not written by Vinony

Wikidata facts

Show 7 more facts
Commons gallery
Librsvg
software version identifier
2.62.1
source code repository URL
gitlab.gnome.org/GNOME/librsvg
inception
2001-05-08
publication date
2001-00-00
Commons category
Librsvg
Sources (8)

via Wikidata · CC0

~4 min read

Article

5 sections
Contents
  • Backends
  • Adoption
  • Version history
  • References
  • External links

librsvg, (occasionally stylized as 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-convert uses the library to turn SVG files into raster images.

==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.

Available in 9 languages

via Wikidata sitelinks · CC0

Connections

Categories