USVG(1)
β¨ USVG(1) β¨
okay bestie, welcome to the usvg page β that's User Commands section of the manual, section 1, so you know it's a command you actually run in your terminal π
πΈ NAME πΈ
usvg β usvg (micro SVG) is an SVG simplification tool. π¦
π DESCRIPTION π
usvg (micro SVG) is an SVG simplification tool. that's literally it, that's the whole vibe β it takes your SVG and makes it micro. tiny. sleek. iconic. π
π USAGE π
four ways to run this thing, pick your fighter:
usvg [OPTIONS] <in-svg> <out-svg>
# from file to file
usvg [OPTIONS] <in-svg> -c
# from file to stdout
usvg [OPTIONS] - <out-svg>
# from stdin to file
usvg [OPTIONS] - -c
# from stdin to stdout
β¨ OPTIONS β¨
-h,--helpβ prints help information. the classic. when in doubt, ask for help π«Ά-V,--versionβ prints version information. yes bestie we all love a version check β-cβ prints the output SVG to the stdout. straight to your eyeballs, no file needed π--dpi DPIβ sets the resolution. default is96. possible values:10..4000(inclusive) π―--stylesheet PATHβ inject a stylesheet that should be used when resolving CSS attributes. giving your SVG a lil CSS glow-up β¨--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π--shape-rendering HINTβ selects the default shape rendering method. default:geometricPrecision. possible values:optimizeSpeed,crispEdges,geometricPrecisionπ--text-rendering HINTβ selects the default text rendering method. default:optimizeLegibility. possible values:optimizeSpeed,optimizeLegibility,geometricPrecisionπ--image-rendering HINTβ selects the default image rendering method. default:optimizeQuality. possible values:optimizeQuality,optimizeSpeed,smooth,high-quality,crisp-edges,pixelatedπΌοΈ--resources-dir DIRβ sets a directory that will be used during relative paths resolving. expected to be the same as the directory that contains the SVG file, but can be set to any. default: input file directory, or none when reading from stdin π--font-family FAMILYβ sets the default font family that will be used when no'font-family'is present. default:Times New RomanποΈ--font-size SIZEβ sets the default font size that will be used when no'font-size'is present. default:12. possible values:1..192(inclusive) π’--serif-family FAMILYβ sets the'serif'font family. will be used when no'font-family'is present. default:Times New Romanπ--sans-serif-family FAMILYβ sets the'sans-serif'font family. default:Arialπ«--cursive-family FAMILYβ sets the'cursive'font family. default:Comic Sans MSπ (yes fr fr, that's the default, no cap)--fantasy-family FAMILYβ sets the'fantasy'font family. default:Impactπ₯--monospace-family FAMILYβ sets the'monospace'font family. default:Courier Newπ»--use-font-file PATHβ load a specified font file into the fonts database. will be used during text to path conversion. this option can be set multiple times π«Ά--use-fonts-dir PATHβ loads all fonts from the specified directory into the fonts database. will be used during text to path conversion. this option can be set multiple times π--skip-system-fontsβ disables system fonts loading. you should add some fonts manually using--use-font-fileand/or--use-fonts-dirβ otherwise, text elements will not be processes π--list-fontsβ lists successfully loaded font faces. useful for debugging π--default-width LENGTHβ sets the default width of the SVG viewport. like the'--default-height'option, this option controls what size relative units in the document will use as a base if there is noviewBoxand document width or height are relative. values:1..4294967295(inclusive). default:100π--default-height LENGTHβ sets the default height of the SVG viewport. refer to the explanation of the'--default-width'option. values:1..4294967295(inclusive). default:100π--preserve-textβ do not convert text into paths π«--id-prefixβ adds a prefix to each ID attribute π·οΈ--indent INDENTβ sets the XML nodes indent. values:none,0,1,2,3,4,tabs. default:4πͺ--attrs-indent INDENTβ sets the XML attributes indent. values:none,0,1,2,3,4,tabs. default:noneπͺ--coordinates-precision NUMβ set the coordinates numeric precision. smaller precision can lead to a malformed output in some cases. values:2..8(inclusive). default:8π―--transforms-precision NUMβ set the transform values numeric precision. smaller precision can lead to a malformed output in some cases. values:2..8(inclusive). default:8π―--quietβ disables warnings π€«
π¦ ARGS π¦
<in-svg>β input file π₯<out-svg>β output file π€
that's the whole page bestie, go forth and simplify π«Άβ¨
usvg 0.47.0+ds β dropped August 2026, and this was your girl USVG(1) signing off πππ
π¦ where this page comes from
- ubuntu stonking: usvg 0.47.0+ds-4 Β· Apache-2.0 OR MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms