python quick crop tool
Enables quick rotation, mirror, brightness/contrast, and then cropping of photos
Input can be raw images in CR2/CR3 format or JPEG/PNG/etc.
Output in .jpg (change default parameters in saveCrop function for different filetype/compression)
Requirements
- Python 3+
- Numpy
- Qt6
- OpenCV
- rawpy
- Mouse with left click and scroll wheel
Install python and requirements
- Install python python.org
- Make sure you tick add to environment variable on windows
- In powershell/CMD/Terminal run:
pip install numpypip install pyside6pip install opencv-pythonpip install rawpypip install PyQt6
In powershell/CMD/Terminal navigate to the location of framecrop.py
run the sript
python framecrop.py
- Run the python script
- Select files to crop from top left (can select multiple)
- Select ratio of descired output
- Use mouse + mousewheel to define crop, left click to crop
- Output files saved to /out folder starting from 0 (manually adjust this bottom left)
