OS Manuals

/usr/bin/rsvg-convert

From rsvg-convert 2.63.4-r2 (os), captured 2026-11-05 by running rsvg-convert --help (exit 0). permalink

Convert SVG files to other image formats

Usage: rsvg-convert [OPTIONS] [FILE]...

Arguments:
  [FILE]...  The input file(s) to convert, you can use - for stdin

Options:
  -?, --help
          Display the help
  -v, --version
          Display the version information
  -d, --dpi-x <number>
          Pixels per inch [default: 96]
  -p, --dpi-y <number>
          Pixels per inch [default: 96]
  -x, --x-zoom <number>
          Horizontal zoom factor
  -y, --y-zoom <number>
          Vertical zoom factor
  -z, --zoom <number>
          Zoom factor
  -w, --width <length>
          Width [defaults to the width of the SVG]
  -h, --height <length>
          Height [defaults to the height of the SVG]
      --top <length>
          Distance between top edge of page and the image [defaults to 0]
      --left <length>
          Distance between left edge of page and the image [defaults to 0]
      --page-width <length>
          Width of output media [defaults to the width of the SVG]
      --page-height <length>
          Height of output media [defaults to the height of the SVG]
  -f, --format <format>
          Output format [default: png] [possible values: png, pdf, pdf1.7, pdf1.6, pdf1.5, pdf1.4, ps, eps, svg]
  -o, --output <filename>
          Output filename [defaults to stdout]
  -i, --export-id <object-id>
          SVG id of object to export [default is to export all objects]
  -l, --accept-language <language-tags>
          Languages to accept, for example "es-MX,de,en" [default uses language from the environment]
  -a, --keep-aspect-ratio
          Preserve the aspect ratio
  -b, --background-color <color>
          Set the background color using a CSS color spec [default: none]
  -s, --stylesheet <filename.css>
          Filename of CSS stylesheet to apply
  -u, --unlimited
          Allow huge SVG files
      --keep-image-data
          Keep image data
      --no-keep-image-data
          Do not keep image data
      --completion <shell-name>
          Output shell completion for the given shell [possible values: bash, elvish, fish, powershell, zsh]
Options (24)
OptionDescriptionSource
-?, --helpDisplay the helphelp
-v, --versionDisplay the version informationhelp
-d, --dpi-x numberPixels per inch [default: 96]help
-p, --dpi-y numberPixels per inch [default: 96]help
-x, --x-zoom numberHorizontal zoom factorhelp
-y, --y-zoom numberVertical zoom factorhelp
-z, --zoom numberZoom factorhelp
-w, --width lengthWidth [defaults to the width of the SVG]help
-h, --height lengthHeight [defaults to the height of the SVG]help
--top lengthDistance between top edge of page and the image [defaults to 0]help
--left lengthDistance between left edge of page and the image [defaults to 0]help
--page-width lengthWidth of output media [defaults to the width of the SVG]help
--page-height lengthHeight of output media [defaults to the height of the SVG]help
-f, --format formatOutput format [default: png] [possible values: png, pdf, pdf1.7, pdf1.6, pdf1.5, pdf1.4, ps, eps, svg]help
-o, --output filenameOutput filename [defaults to stdout]help
-i, --export-id object-idSVG id of object to export [default is to export all objects]help
-l, --accept-language language-tagsLanguages to accept, for example "es-MX,de,en" [default uses language from the environment]help
-a, --keep-aspect-ratioPreserve the aspect ratiohelp
-b, --background-color colorSet the background color using a CSS color spec [default: none]help
-s, --stylesheet filename.cssFilename of CSS stylesheet to applyhelp
-u, --unlimitedAllow huge SVG fileshelp
--keep-image-dataKeep image datahelp
--no-keep-image-dataDo not keep image datahelp
--completion shell-nameOutput shell completion for the given shell [possible values: bash, elvish, fish, powershell, zsh]help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.