mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 07:51:36 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,11 +10,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Mirror an image horizontally or vertically:
|
||||
|
||||
`jpegtran -flip {{horizontal|vertical}} {{path/to/image.jpg}} > {{path/to/output.jpg}}`
|
||||
`jpegtran {{[-f|-flip]}} {{horizontal|vertical}} {{path/to/image.jpg}} > {{path/to/output.jpg}}`
|
||||
|
||||
- Rotate an image 90, 180 or 270 degrees clockwise:
|
||||
|
||||
`jpegtran -rotate {{90|180|270}} {{path/to/image.jpg}} > {{path/to/output.jpg}}`
|
||||
`jpegtran {{[-ro|-rotate]}} {{90|180|270}} {{path/to/image.jpg}} > {{path/to/output.jpg}}`
|
||||
|
||||
- Transpose the image across the upper-left to lower right axis:
|
||||
|
||||
@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Convert the image to grayscale:
|
||||
|
||||
`jpegtran -grayscale {{path/to/image.jpg}} > {{path/to/output.jpg}}`
|
||||
`jpegtran {{[-g|-grayscale]}} {{path/to/image.jpg}} > {{path/to/output.jpg}}`
|
||||
|
||||
- Crop the image to a rectangular region of width `W` and height `H` from the upper-left corner, saving the output to a specific file:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user