mirror of
https://github.com/tealdeer-rs/tealdeer.git
synced 2026-08-19 14:44:19 +02:00
28 lines
1.3 KiB
Text
28 lines
1.3 KiB
Text
|
||
An SVG (Scalable Vector Graphics) editing program.
|
||
Use -z to not open the GUI and only process files in the console.
|
||
|
||
[32mOpen an SVG file in the Inkscape GUI:[0m
|
||
|
||
[36minkscape [4mfilename.svg[0m[36m[0m
|
||
|
||
[32mExport an SVG file into a bitmap with the default format (PNG) and the default resolution (90 DPI):[0m
|
||
|
||
[36minkscape [4mfilename.svg[0m[36m -e [4mfilename.png[0m[36m[0m
|
||
|
||
[32mExport an SVG file into a bitmap of 600x400 pixels (aspect ratio distortion may occur):[0m
|
||
|
||
[36minkscape [4mfilename.svg[0m[36m -e [4mfilename.png[0m[36m -w [4m600[0m[36m -h [4m400[0m[36m[0m
|
||
|
||
[32mExport a single object, given its ID, into a bitmap:[0m
|
||
|
||
[36minkscape [4mfilename.svg[0m[36m -i [4mid[0m[36m -e [4mobject.png[0m[36m[0m
|
||
|
||
[32mExport an SVG document to PDF, converting all texts to paths:[0m
|
||
|
||
[36minkscape [4mfilename.svg[0m[36m | inkscape | inkscape --export-pdf=[4minkscape.pdf[0m[36m | inkscape | inkscape --export-text-to-path[0m
|
||
|
||
[32mDuplicate the object with id="path123", rotate the duplicate 90 degrees, save the file, and quit Inkscape:[0m
|
||
|
||
[36minkscape [4mfilename.svg[0m[36m --select=path123 --verb=EditDuplicate --verb=ObjectRotate90 --verb=FileSave --verb=FileQuit[0m
|
||
|