Skip to main content

blitzcrop

PyPI package Build status

GUI for interactive batch image cropping:

  1. Drag along the diagonal of the image from upper left to lower right corner and release the mouse button.
  2. Move the mouse to the upper right corner and click.
  3. Accept or reject the cropped image in the dialog popping up.

Demo of blitzcrop interaction

Features

  • 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 or A/D
  • Accept cropped images by Enter or Space and reject them by Esc

Install

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

History

0.2.1 (2022-10-10)

  • Support Pillow < 9.10 by monkey-patching Image.Resampling

0.2.0 (2022-10-09)

  • Implement core cropping interaction with drag + click
  • Support multiple images via command line arguments
  • Support basic keybindings for image navigation and crop accept / reject

0.1.0 (2022-04-03)

Credits

Main developer is luphord luphord@protonmail.com. cookiecutter-pyscript is used as project template.

History

0.1.0 (2022-04-03)

  • Initial release.

Metadata

Release files for blitzcrop 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for blitzcrop 0.2.1
File Size Uploaded
blitzcrop-0.2.1.tar.gz 7.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for blitzcrop 0.2.1
File Interpreter ABI Platform
blitzcrop-0.2.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 16.4 kB

Release files / blitzcrop-0.2.1.tar.gz

Download URL blitzcrop-0.2.1.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
244c57a41cae2914a56e87ec9db4e13bf8d603c5c88cafa4295e1c33e75a1830
BLAKE2b-256 checksum
How to use checksums
95f883dec0c8ff475e96cb55ebc314af7fabbd567e46edac667c44cdf405e2e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.6

Release files / blitzcrop-0.2.1-py2.py3-none-any.whl

Download URL blitzcrop-0.2.1-py2.py3-none-any.whl
Size 8.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
10f4ae890aa4c22098d3ff5f0fb3dfc754f01bc8e6c0a45deee7904a9b0c5353
BLAKE2b-256 checksum
How to use checksums
e27c41cbf353afbe84976ffdda01cab4bdea88209a95113aa56074187bfafa35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.6

Release history Release notifications | RSS feed

0.3.0

2 release files

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page