Description

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:

$ imgpress test.jpeg -f JPEG -r 1000 1000 -q 75 -o test-1000.jpeg

Resize test.jpeg to 1000 wide while preserving aspect ratio, encode to WEBP format, and set quality to 65:

$ imgpress image.jpeg -f WEBP -r 1000 0 -q 65

Get it from the Snap Store

Search for another snap, or go back to the homepage.