LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

imgp

fast, command-line image resizer and rotator for JPEG and PNG files

TLDR

Resize images or directories to specific resolution
$ imgp -x [1366x1000] [path/to/directory] [path/to/file]
copy
Scale an image by percentage and overwrite source
$ imgp -x [75] -w [path/to/file]
copy
Rotate an image clockwise by 90 degrees
$ imgp -o [90] [path/to/file]
copy

SYNOPSIS

imgp [options] [paths]

DESCRIPTION

imgp is a fast, command-line image resizer and rotator for JPEG and PNG files. It can process single files or entire directories, making batch operations efficient.The tool preserves aspect ratio by default when resizing and can process images in parallel for improved performance. It maintains EXIF orientation metadata and supports both percentage-based scaling and absolute resolution targets.

PARAMETERS

-x, --res RES

Target resolution (WxH) or scale percentage
-o, --rotate DEGREES
Rotate image clockwise (90, 180, 270)
-w, --overwrite
Overwrite source images
-q, --quality VALUE
JPEG quality (1-95, default 75)
-n, --enlarge
Allow enlarging images
-e, --erase
Remove EXIF metadata
-c, --convert
Convert between PNG and JPEG

INSTALL

sudo dnf install imgp
copy
sudo zypper install imgp
copy
brew install imgp
copy
nix profile install nixpkgs#imgp
copy

CAVEATS

Only supports JPEG and PNG formats. By default creates new files rather than overwriting. Very large batch operations may consume significant memory.

HISTORY

imgp was created by Arun Prakash Jana and is part of a collection of efficient command-line utilities. It was designed to provide fast, scriptable image manipulation without the complexity of larger tools like ImageMagick.

SEE ALSO

convert(1), mogrify(1), jpegtran(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid