mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-03 09:55:08 +00:00
Update cheatsheets
This commit is contained in:
21
linux/imgp
Normal file
21
linux/imgp
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# imgp
|
||||
|
||||
> Command-line image resizer and rotator for JPEG and PNG images.
|
||||
> More information: <https://github.com/jarun/imgp>.
|
||||
|
||||
- Convert single images and/or whole directories containing valid image formats:
|
||||
|
||||
`imgp -x {{1366x1000}} {{path/to/directory}} {{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}}`
|
||||
Reference in New Issue
Block a user