Files
tldr/pages/linux/imgp.md
bl-ue 8ebd171d6f *: fix typos reported by Hunspell (#5848)
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
2021-05-20 16:13:41 -04:00

16 lines
417 B
Markdown

# 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/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}}`