Crop resize and print jsonp formatted information about image.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 1 commit ahead of CKevinZ:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
imagefile
.gitignore
README.md
main.go

README.md

Simple image manipulation

/!\ THIS PROJECT IS ABSOLUTELY NOT MATURE /!\

An image manipulation binary, written in go. I use it in a personal ruby on rails app.

Installation

$ git clone git://github.com/CKevinZ/simple-image-manipulation.git
$ cd simple-image-manipulation
$ go build

Usage

$ ./img -info picture.jpg # Prints jsonp formatted information about picture.jpg
$ ./img -resize picture.jpg -geo '300 200' -out picture.out.jpg
$ ./img -crop picture.jpg -geo '100 200 150 250' -out picture.out.jpg