RENDERSVG(1)

πŸ“¦ version 0.8.0, in ubuntu jammy

πŸ’– RENDERSVG πŸ’–

okay bestie, welcome to rendersvg, the SVG rendering application from the Resvg Documentation era β€” this little icon turns your cute vector files into actual pixels. sit down, grab a boba, we're doing this together 🧚✨


✨ SYNOPSIS ✨

rendersvg [OPTIONS] in.svg out.png
rendersvg in.svg out.png
rendersvg -z 4 in.svg out.png
rendersvg --query-all in.svg

like, the shape of it is so simple: you give it an in.svg, it gives you an out.png. that's the whole vibe. πŸŽ€


πŸŽ€ OPTIONS πŸŽ€

here's the rundown of everything you can pass it, no gatekeeping, we share here πŸ’…

  • --h, --help β€” prints help information. your girl when you're confused. πŸ™ˆ
  • -V, --version β€” prints version information.
  • --backend BACKEND β€” sets the rendering backend. ngl, it has no effect if built with only one backend. [default: cairo] [possible values: cairo, qt]
  • -w LENGTH, --width LENGTH β€” sets the width in pixels.
  • -h LENGTH, --height LENGTH β€” sets the height in pixels.
  • -z FACTOR, --zoom FACTOR β€” zooms the image by a factor. periodt.
  • --dpi DPI β€” sets the resolution. [default: 96] [possible values: 10..4000]
  • --background COLOR β€” sets the background color. Examples: red, #fff, #fff000 🌈
  • --font-family FAMILY β€” sets the default font family. [default: 'Times New Roman']
  • --font-size SIZE β€” sets the default font size. [default: 12] [possible values: 1..192]
  • --languages LANG β€” sets a comma-separated list of languages that will be used during the 'systemLanguage' attribute resolving. Examples: 'en-US', 'en-US, ru-RU', 'en, ru' [default: 'en']
  • --query-all β€” queries all valid SVG ids with bounding boxes. lowkey the most useful thing here fr fr πŸ”₯
  • --export-id ID β€” renders an object only with a specified ID.
  • --perf β€” prints performance stats. main character energy, tracking its own glow-up ✨
  • --pretend β€” does all the steps except rendering. it's giving... rehearsal 🎭
  • --quiet β€” disables warnings.
  • --dump-svg=PATH β€” saves the preprocessed SVG to the selected file.

🌸 ARGS 🌸

  • in.svg β€” input file. the source of truth, the origin story πŸ’œ
  • out.png β€” output file. the glow-up, the final form πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

  • usvg(1) β€” its sibling, go say hi.

πŸ‘‘ AUTHOR πŸ‘‘

this manual page was written by Andrej Shadura <andrewsh@debian.org> for the Debian project (but may be used by others). iconic of them, honestly.


🫢 reminder bestie: this is resvg 0.8.0, dated 2021-01-02, and it lives under the Resvg Documentation banner. that's the whole page β€” you ate that. bye babe πŸ’–βœ¨πŸŽ€
πŸ“¦ where this page comes from