/w1-image

Primary LanguageGoMIT LicenseMIT

W1 IMAGE CLI tool

Helper tool for handy simple image transformations. Supports jpg and png.

Build Command:

go build -o ./bin/w1-image -ldflags "-X 'main.latestGitTag=$(git describe --tags --abbrev=0)'"

Dev command (grayscale example):

go run . grayscale ./tmp/example.jpg

Specific commands (from binary)

w1-image grayscale ./tmp/example.jpg

w1-image resize ./tmp/example.jpg 240