CLI tool for encoding and compressing images for optimal web use.
Written in Python utilizing the Pillow imaging library. Supported image types include JPEG, PNG, and WEBP. Images saved with the same name as the source file are given a unique name.
Usage
Pass in at least an input file and image format.
Resize test.jpeg to 1000 x 1000, set quality to 75, and save file as test-1000.jpeg:
(Ownership verified)
The publisher has verified that they own this domain.
It does not guarantee the Snap is an official upload
from the upstream project.
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
Enable snapd
On a Raspberry Pi running the latest version of Raspbian snap can be installed directly from the command line:
sudo apt update
sudo apt install snapd
You will also need to reboot your device:
sudo reboot
After this, install the snapd snap in order to get the latest snapd:
sudo snap install snapd
Install imgpress
To install imgpress, simply use the following command: