librsvg

From Wikipedia, the free encyclopedia
  (Redirected from Rsvg)
Jump to: navigation, search
librsvg
librsvg logo
Original author(s) Raph Levien
Developer(s) GNOME Project
Stable release 2.40.5 (13 October 2014; 2 months ago (2014-10-13)) [±][1]
Development status Active
Written in C
Operating system Cross-platform
Type Graphics library
License GNU LGPL, GNU GPL
Website live.gnome.org/LibRsvg

librsvg is a free software SVG rendering library written as part of the GNOME project, intended to be lightweight and portable.[2]

Backends[edit]

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

  • libxml is used to parse the XML code orientation 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.

Adoption[edit]

librsvg is developed for the GNOME desktop environment and as such is used by GNOME Files 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.[3] It was once picked for these web applications because it was decidedly "fast but not very accurate", according to MediaWiki.[3][4]

Upon switching to the cairo vector rendering engine in 2005,[5][6] librsvg became more accurate and more visually pleasing. RSVG-Convert and RSVG-View were also available as Win32 console tools.[7]

References[edit]

  1. ^ download mirror, 19 November 2013, retrieved 12 February 2014 
  2. ^ "librsvg is a library to render SVG files using cairo". librsvg. GNOME Live. Retrieved May 10, 2012. 
  3. ^ a b Lucideer (April 27, 2009). "Manual:Image Administration - MediaWiki". MediaWiki. MediaWiki. Retrieved April 6, 2011. 
  4. ^ "SVG benchmarks - MediaWiki". MediaWiki. MediaWiki. Retrieved April 6, 2011. 
  5. ^ Worth, Carl (2 September 2005). "svg shootout". gmane.comp.gnome.lib.librsvg.devel. Retrieved 29 November 2014. the librsvg maintainers … have now added cairo support to librsvg. Many thanks are due to Caleb Moore and Dom Lachowicz for this work. The source can be compiled --with-cairo and it builds separate librsvg-2-cairo.so and librsvg-2-base.so libraries 
  6. ^ Moore, Caleb (3 November 2005). "using librsvg cairo". gmane.comp.gnome.lib.librsvg.devel. Retrieved 29 November 2014. Librsvg-2.13 cannot link to libart since that backend was majorly broken when we released 2.13 and thus must link to cairo. 
  7. ^ TumaGonx Zakkum (2012-06-10). "RSVG-Convert SVG image conversion tool". Open Source Software and Windows 32-bit. Retrieved 2014-03-04. 

External links[edit]