BookCrop.ahk - version 2018-10-21 - by Nod5 - GPLv3 - Made in Windows 10
Quickly crop many same sized images via an overlay preview
How to use
- Drag and drop jpeg/tif images or a folder with images
- BookCrop overlays them into one preview
- Draw a rectangle and click "crop" to crop all images
- Install latest GraphicsMagick (Q8 version is faster)
- Get two files from libjpeg-turbo:
- Download libjpeg-turbo-1.5.3-gcc64.exe or newer
- Unzip the .exe with 7zip
- browse to \bin subfolder
libjpeg-62.dlland place next to
Clickand draw another rectangle to split crop into two images with L and R suffix.
Tabstarts R L mode. Files ending with
R.jpgare previewed and cropped separately.
Lat preview: rotate preview in 90 degree steps.
Sat preview: Scrub mode. Draw a rectangle to whiten that area in binarized tif input images. Useful for scrubbing noise near inner/outer edges on book page photos.
Command line input: a folder path or image filepaths or a .txt with one image filepath per line.
BookCrop.exe "C:\dir\a.jpg" "C:\dir\b.jpg"
Drop a folder: Process all jpg or tif in folder (whichever there is more of).
Drop a single jpg or tif: Quick preview. Move threshold slider to refresh.
Change threshold in quick preview if the overlay is too dark or light.
Important: Preview and cropping only works well on same size input images.
Advice: Use crop to subfolder, so you can redo if you crop too much.
If you wish to run/build BookCrop.ahk from source: install AutoHotkey
Q Scrub mode does not work on certain .tif files, why?
A Scrub fails if the .tif has JPEG compression. Remove the compression manually from the images first.
GitHub , https://github.com/nod5/BookCrop