A fast command-line batch image resizer and rotator for JPEG and PNG images with multiprocessing and SIMD support.
imgp is a command-line image resizer and rotator for JPEG and PNG images. It processes thousands of images in batch operations, significantly reducing storage space through intelligent adaptive algorithms and parallel processing. The tool is designed for fast, efficient bulk image optimization directly from the terminal.
System administrators, developers, and power users who need to batch process large collections of images from the command line, particularly those working in headless environments or using lightweight desktop environments without integrated graphical tools.
Developers choose imgp for its lightning-fast performance powered by multiprocessing and SIMD parallelism (via Pillow-SIMD), its flexibility with adaptive resizing and numerous command-line options, and its ability to handle recursive directory processing efficiently without a graphical interface.
:camera_flash: Fast batch image resizer and rotator
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Leverages multiprocessing and SIMD parallelism via Pillow-SIMD, enabling it to process thousands of images in minutes, as demonstrated in performance benchmarks resizing 8823 images in ~8 minutes.
Automatically adjusts dimensions based on image orientation to maintain aspect ratio and avoid distortion, detailed in the adaptive mode section with examples like 2048x1365 to 1366x910.
Offers extensive controls for resizing by percentage, resolution, megapixels, rotating, converting formats, and optimizing output, with over 20 cmdline options listed in the README.
Supports recursive directory traversal and handles hidden files, making it ideal for bulk operations on large image collections without manual intervention.
Only handles JPEG and PNG images, excluding modern formats like WebP or AVIF, which are increasingly common for web optimization and could limit its utility in diverse environments.
Lacks a graphical user interface, making it less accessible for users unfamiliar with terminal commands or preferring drag-and-drop workflows, as hinted by comparisons to Nautilus Image Converter.
Requires Python 3.8+ and PIL/Pillow, which can be a hurdle in environments where Python is not installed or where system packages are restricted, adding complexity over standalone binaries.
Using the --overwrite option can lead to potential race conditions and data loss if *_IMGP files are reprocessed, as warned in operational notes, requiring careful manual management.
imgp is an open-source alternative to the following products: