-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from LovecraftianHorror/better-color-detection
Improved color detection with --color argument and NO_COLOR env variable. Fixes #81.
- Loading branch information
Showing
9 changed files
with
125 additions
and
14 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
An SVG (Scalable Vector Graphics) editing program. | ||
Use -z to not open the GUI and only process files in the console. | ||
|
||
Open an SVG file in the Inkscape GUI: | ||
|
||
inkscape filename.svg | ||
|
||
Export an SVG file into a bitmap with the default format (PNG) and the default resolution (90 DPI): | ||
|
||
inkscape filename.svg -e filename.png | ||
|
||
Export an SVG file into a bitmap of 600x400 pixels (aspect ratio distortion may occur): | ||
|
||
inkscape filename.svg -e filename.png -w 600 -h 400 | ||
|
||
Export a single object, given its ID, into a bitmap: | ||
|
||
inkscape filename.svg -i id -e object.png | ||
|
||
Export an SVG document to PDF, converting all texts to paths: | ||
|
||
inkscape filename.svg | inkscape | inkscape --export-pdf=inkscape.pdf | inkscape | inkscape --export-text-to-path | ||
|
||
Duplicate the object with id="path123", rotate the duplicate 90 degrees, save the file, and quit Inkscape: | ||
|
||
inkscape filename.svg --select=path123 --verb=EditDuplicate --verb=ObjectRotate90 --verb=FileSave --verb=FileQuit | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters