From f8fc6d71482914fba66b96af4488f7d6d3bf1baa Mon Sep 17 00:00:00 2001 From: yair Date: Sun, 29 Apr 2018 00:52:28 +0200 Subject: [PATCH] imgp: add page (#2078) --- pages/linux/imgp.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/linux/imgp.md diff --git a/pages/linux/imgp.md b/pages/linux/imgp.md new file mode 100644 index 0000000000..028dd4b458 --- /dev/null +++ b/pages/linux/imgp.md @@ -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}}`