smartcrop-cli

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2018 License: MIT Imports: 10 Imported by: 0

README

smartcrop-cli

Build Status GitHub release MIT License Go Report Card PRs Welcome

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL