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.
Enable snaps on elementary OS and install imgpress
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
Snap can be installed on elementary OS from the command line. Open Terminal from the Applications launcher and type the following:
sudo apt update
sudo apt install snapd
Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
Install imgpress
To install imgpress, simply use the following command: