2018-04-28 23:52:28 +01:00
|
|
|
# imgp
|
|
|
|
|
2021-09-02 19:33:49 +01:00
|
|
|
> Command-line image resizer and rotator for JPEG and PNG images.
|
|
|
|
> More information: <https://github.com/jarun/imgp>.
|
2018-04-28 23:52:28 +01:00
|
|
|
|
|
|
|
- Convert single images and/or whole directories containing valid image formats:
|
|
|
|
|
2020-10-28 17:19:43 +00:00
|
|
|
`imgp -x {{1366x1000}} {{path/to/directory}} {{path/to/file}}`
|
2018-04-28 23:52:28 +01:00
|
|
|
|
|
|
|
- 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}}`
|