Enlarge image by 2x with hq2x algorithm
$ make build # require make and go
$ hq2x input.png output.png
See godoc for details.
$ go get github.com/pokemium/hq2xgo
import (
hq2x "github.com/pokemium/hq2xgo"
)
after, err := hq2x.HQ2x(before) // var before *image.RGBA
$ cd cmd/
$ go test -bench .