A script to crop pin images
Find a file
2025-09-11 12:22:01 +10:00
.editorconfig feat: initial commit 2025-09-07 12:44:23 +10:00
.gitignore feat: initial commit 2025-09-07 12:44:23 +10:00
crop-pin-image feat: add validation and add a help message 2025-09-11 12:21:52 +10:00
LICENSE chore: add LICENSE file 2025-09-07 14:24:34 +10:00
README.md docs: add instructions to the readme 2025-09-11 12:22:01 +10:00

Pin Image Cropper

A script that wraps Imagemagick that processes all passed images to cropped and properly formatted JPEGs.

Requirements

Imagemagick should be installed on your system and referenced in your $PATH.

Usage

Usage: crop-pin-image [OPTIONS] <path>...

Options:
  -o DIR, --output-dir DIR   Specify the output directory.
                             If omitted, defaults to './out'.
                             This directory will be created if it does not exist.
  -h, --help                 Show this help message and exit.

Arguments:
  <path>...                  One or more paths to files or directories to be processed.

License

This script is licensed under the MIT License. Imagemagick is licensed under its own license found here.