🍺 BREW Explorer

← all formulae

resvg

brew install resvg v0.47.0 MPL-2.0

SVG rendering tool and library

1.1k
30-day installs · #1226
4.3k
90-day · #1174
14.0k
365-day · #1255
3.9k
★ GitHub stars · updated 2mo ago

Build dependencies

GitHub topics

render svg

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "cargo-c",
    "rust"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "SVG rendering tool and library",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:41:23+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "resvg",
  "github_default_branch": "main",
  "github_last_commit_at": "2026-06-05T14:24:22Z",
  "github_readme_excerpt": "## resvg\n![Build Status](https://github.com/linebender/resvg/workflows/Build/badge.svg)\n[![Crates.io](https://img.shields.io/crates/v/resvg.svg)](https://crates.io/crates/resvg)\n[![Documentation](https://docs.rs/resvg/badge.svg)](https://docs.rs/resvg)\n[![Rust 1.87.0+](https://img.shields.io/badge/rust-1.87.0+-orange.svg)](https://www.rust-lang.org)\n\n*resvg* is an [SVG](https://en.wikipedia.org/wiki/Scalable_Vector_Graphics) rendering library.\n\nIt can be used as a Rust library, as a C library, and as a CLI application to render static SVG files.\n\nThe core idea is to make a fast, small, portable SVG library with the goal to support the whole SVG spec.\n\n## Features\n\n### Designed for edge-cases\n\nSVG is a very complicated format with a large specification (SVG 1.1 is almost 900 pages).\nYou basically need a web browser to handle all of it. But the truth is that even browsers\nfail at this (see [SVG support](https://github.com/linebender/resvg#svg-support)).\nYes, unlike `resvg`, browsers do support dynamic SVG features like animations and scripting.\nBut using a browser to render SVG _correctly_ is sadly not an option.\n\nTo prove its correctness, `resvg` has a vast test suite that includes around 1600 tests.\nAnd those are only SVG-to-PNG regression tests. This doesn\u0027t include tests in `resvg` dependencies.\nAnd the best thing is that `resvg` test suite is available to everyone. It\u0027s not tied to `resvg`\nin any way. Which should help people who plan to develop their own SVG libraries.\n\n### Safety\n\nIt\u0027s hard not to mention safety when we talk about Rust and processing of a random input.\nAnd we\u0027re talking not only about SVG/XML, but also about CSS, TTF, PNG, JPEG, GIF, and GZIP.\n\nWhile `resvg` is not the only SVG library written in Rust, it\u0027s the only one that\nis written completely in Rust. There is no non-Rust code in the final binary.\n\nMoreover, there is almost no `unsafe` code either. Still, some dependencies have some `unsafe` code\nand font memory-mapping is inherently `unsaf",
  "github_repo": "linebender/resvg",
  "github_stars": 3886,
  "github_topics": [
    "render",
    "svg"
  ],
  "homepage": "https://github.com/linebender/resvg",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 1150,
  "installs_365d": 14045,
  "installs_90d": 4347,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MPL-2.0",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "resvg",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 1226,
  "rank_365d": 1255,
  "rank_90d": 1174,
  "raw_hash": "9493d90871d9ac86",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/r/resvg.rb",
  "tap": "homebrew/core",
  "test_dependencies": [
    "pkgconf"
  ],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "0.47.0",
  "versioned_formulae": [],
  "why_use_this": null
}