mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-30 18:37:58 +01:00
imgp: add page (#2078)
This commit is contained in:
parent
7d693c4da0
commit
f8fc6d7148
1 changed files with 15 additions and 0 deletions
15
pages/linux/imgp.md
Normal file
15
pages/linux/imgp.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# imgp
|
||||
|
||||
> Command line image resizer and rotator for JPEG and PNG images.
|
||||
|
||||
- Convert single images and/or whole directories containing valid image formats:
|
||||
|
||||
`imgp -x {{1366x1000}} {{path/to/dir}} {{path/to/file}}`
|
||||
|
||||
- Scale an image by 75% and overwrite the source image to a target resolution:
|
||||
|
||||
`imgp -x {{75}} -w {{path/to/file}}`
|
||||
|
||||
- Rotate an image clockwise by 90 degrees:
|
||||
|
||||
`imgp -o {{90}} {{path/to/file}}`
|
Loading…
Reference in a new issue