Giter Site home page Giter Site logo

jimbojonesmgr / qazseebookcrop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nod5/bookcrop

0.0 0.0 0.0 454 KB

AutoHotkey program to quickly crop many same sized images via an overlay preview

License: GNU General Public License v3.0

AutoHotkey 100.00%

qazseebookcrop's Introduction

BookCrop

BookCrop.ahk - version 2018-10-21 - by Nod5 - GPLv3 - Made in Windows 10

Quickly crop many same sized images via an overlay preview

Download BookCrop binary

Alt text

Alt text

larger screenshot

How to use

  1. Drag and drop jpeg/tif images or a folder with images
  2. BookCrop overlays them into one preview
  3. Draw a rectangle and click "crop" to crop all images

Setup

  • 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
    • copy jpegtran.exe and libjpeg-62.dll and place next to BookCrop.exe

More Features

  • Ctrl+Click and draw another rectangle to split crop into two images with L and R suffix.

  • Ctrl+Tab starts R L mode. Files ending with L.jpg and R.jpg are previewed and cropped separately.

  • R / L at preview: rotate preview in 90 degree steps.

  • S at 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:\folder"
BookCrop.exe "C:\dir\a.jpg" "C:\dir\b.jpg"
BookCrop.exe "C:\files.txt"
  • 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

FAQ

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.

Feedback

GitHub , https://github.com/nod5/BookCrop

qazseebookcrop's People

Contributors

nod5 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.