Go crop is a CLI tool to quickly crop images.
Call go-crop with the gocrop
command. Supply a width
, height
, left
, and
top
position in pixels to control the dimensions of the resulting image.
gocrop source.jpg width height left top destination.jpg
git clone git@github.com:BanAaron/go-crop.git
cd go-crop
go run main.go