mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 06:57:12 +00:00
Update cheatsheets
This commit is contained in:
38
inkscape
Normal file
38
inkscape
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# inkscape
|
||||
|
||||
> An SVG (Scalable Vector Graphics) editing program.
|
||||
> For Inkscape versions up to 0.92.x, use -e instead of -o.
|
||||
> More information: <https://inkscape.org>.
|
||||
|
||||
- Open an SVG file in the Inkscape GUI:
|
||||
|
||||
`inkscape {{path/to/filename.svg}}`
|
||||
|
||||
- Export an SVG file into a bitmap with the default format (PNG) and the default resolution (96 DPI):
|
||||
|
||||
`inkscape {{path/to/filename.svg}} -o {{path/to/filename.png}}`
|
||||
|
||||
- Export an SVG file into a bitmap of 600x400 pixels (aspect ratio distortion may occur):
|
||||
|
||||
`inkscape {{path/to/filename.svg}} -o {{path/to/filename.png}} -w {{600}} -h {{400}}`
|
||||
|
||||
- Export the drawing (bounding box of all objects) of an SVG file into a bitmap:
|
||||
|
||||
`inkscape {{path/to/filename.svg}} -o {{path/to/filename.png}} -D`
|
||||
|
||||
- Export a single object, given its ID, into a bitmap:
|
||||
|
||||
`inkscape {{path/to/filename.svg}} -i {{id}} -o {{object.png}}`
|
||||
|
||||
- Export an SVG document to PDF, converting all texts to paths:
|
||||
|
||||
`inkscape {{path/to/filename.svg}} -o {{path/to/filename.pdf}} --export-text-to-path`
|
||||
|
||||
- Duplicate the object with id="path123", rotate the duplicate 90 degrees, save the file, and quit Inkscape:
|
||||
|
||||
`inkscape {{path/to/filename.svg}} --select=path123 --verb="{{EditDuplicate;ObjectRotate90;FileSave;FileQuit}}"`
|
||||
Reference in New Issue
Block a user