GUI for interactive batch image cropping:
- Drag along the diagonal of the image from upper left to lower right corner and release the mouse button.
- Move the mouse to the upper right corner and click.
- Accept or reject the cropped image in the dialog popping up.
- Batch crop large amounts of images in a short amount of time
- Drag and click to crop an image
- Crop rotated images
- Pass images via command line
- Navigate between images using
left arrow
/right arrow
orA
/D
- Accept cropped images by
Enter
orSpace
and reject them byEsc
You can install blitzcrop
using pip
with
pip3 install blitzcrop
Alternatively, you can download blitzcrop.py
and then run it using python3
with
python3 blitzcrop.py
In this case, you need to ensure that Pillow and tkinter
(including ImageTk
) is installed on your system and available to python3
. If you work on an Ubuntu-based Linux distribution, you may achieve that by means of
sudo apt install python3-tk python3-pil python3-pil.imagetk
- Abort rectangle selection by clicking with the right mouse button or by pressing
Esc
- Specify file name template by
-f/--file-name-template
with placeholdersimage
andnow
- Specify image quality by
-q/--quality
- Specify
-m/--forget-metadata
to prevent storing original image metadata in cropped image; otherwise metadata will be preserved (including original image resolution)
- Support Pillow < 9.10 by monkey-patching
Image.Resampling
- Implement core cropping interaction with drag + click
- Support multiple images via command line arguments
- Support basic keybindings for image navigation and crop accept / reject
- Created using cookiecutter-pyscript
Main developer is luphord luphord@protonmail.com. cookiecutter-pyscript is used as project template.