SkillAgentSearch skills...

Hq2xgo

Enlarge image by 2x with hq2x algorithm

Install / Use

/learn @akatsuki105/Hq2xgo
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

hq2xgo

Go GoDoc

Enlarge image by 2x with hq2x algorithm

Example(Before -> After)

<img src="./example/1/demo.png" width="320" height="288" />    <img src="./example/1/demo_hq2x.png" />

<br />

<img src="./example/2/demo.png" width="320" height="288" />    <img src="./example/2/demo_hq2x.png" />

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 .

Related Skills

View on GitHub
GitHub Stars14
CategoryDevelopment
Updated1y ago
Forks0

Languages

Go

Security Score

65/100

Audited on May 30, 2024

No findings