smartcrop-cli
smartcrop finds good image crops for arbitrary crop sizes
A command line client for the wonderful smartcrop library.
Install
Option 1: Binary
Download the latest release from https://github.com/jakewarren/smartcrop-cli/releases/latest
Option 2: From source
go get github.com/jakewarren/smartcrop-cli
Usage
❯ smartcrop-cli --help
usage: smartcrop-cli [<flags>] <input>
smartcrop finds good image crops for arbitrary crop sizes
Optional flags:
--help Show context-sensitive help (also try --help-long and --help-man).
-w, --width=250 preferred width of image (px)
-h, --height=250 preferred height of image (px)
-q, --quality=90 image quality of output file
-o, --output-file="./smartcrop.jpg"
name of the output file
-V, --version Show application version.
Args:
<input> input file
Changes
All notable changes to this project will be documented in the changelog.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
License
MIT © 2018 Jake Warren