Resize image with ease. Supports GIF, JPEG and PNG.
Installation
Go toolchain required.
go get -u github.com/maku693/imgres
Usage
Usage of imgres:
-fit string
fitting of scaled image ("contain" or "cover") (default "contain")
-height int
max height of output file
-in string
input file (optional, default stdin)
-out string
output file (optional, default stdout)
-width int
max width of output file