Skip to content
Nat Lee

Keyboard shortcuts

Turn these off if they get in the way of a screen reader or voice control. The setting is saved in this browser.

1
Home
2
Projects
3
About
4
Experience
/
Search projects
?
Show this panel

Image Processing

batch-crop-images

Batch Image Cropping Tool

Draw a crop box once and it is applied to a whole folder of similar images. Written because I refused to crop them one by one, and apparently other people refused too.

Role
Creator & Maintainer
Period
2019 – 2026.11
Status
Completed
Theme
Libraries & tools
batch-crop-images, screenshot 1

Overview

An efficient batch image processing tool that provides an intuitive interface for cropping multiple similar images simultaneously. This tool streamlines the workflow for processing large sets of images with consistent cropping requirements.

Results

  • Interactive or headless batch cropping with a pip-installable CLI

Features

  • Draw one crop box in an OpenCV window
  • Apply the same box across a folder
  • Headless --box input and saved presets
  • Libraries & tools7070 stars on GitHub

    Blur-Generator

    Makes perfectly good images worse on purpose: motion, lens, Gaussian and depth-aware blur, for training models that have to cope with bad photos.

    2019Completed
  • Libraries & tools2626 stars on GitHub

    HEIC2PNG

    Turns iPhone HEIC photos into PNG from the CLI, a shell pipe or Python. A small tool for a small, recurring annoyance.

    2019Completed
  • Libraries & tools11 stars on GitHub

    playwright-snap

    Render a page with Playwright and return a PNG or PDF as base64. Moving from pyppeteer-snap takes a one-line import change.

    2026Completed