imgp

Command-line image resizer and rotator for JPEG and PNG images. More information: <https://github.com/jarun/imgp>.

Install

All systems
curl cmd.cat/imgp.sh
Debian Debian
apt-get install imgp
Ubuntu
apt-get install imgp
image/svg+xml Kali Linux
apt-get install imgp
Fedora
dnf install imgp
Windows (WSL2)
sudo apt-get update sudo apt-get install imgp
Raspbian
apt-get install 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

© tl;dr; authors and contributors