Browse Source

imgp: add page (#2078)

yair 6 years ago
parent
commit
f8fc6d7148
1 changed files with 15 additions and 0 deletions
  1. 15 0
      pages/linux/imgp.md

+ 15 - 0
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}}`