8000
Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hq2xgo

Go GoDoc

Enlarge image by 2x with hq2x algorithm

Example(Before -> After)

    


    

Usage

command line

$ make build # require make and go
$ hq2x input.png output.png

golang package

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

Measure benchmark

$ cd cmd/
$ go test -bench .

About

Enlarge image by 2x with hq2x algorithm

Topics

Resources

Stars

14 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages

0