Hq2xgo
Enlarge image by 2x with hq2x algorithm
Install / Use
/learn @akatsuki105/Hq2xgoREADME
hq2xgo
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
node-connect
332.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
xurl
332.9kA CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
frontend-design
81.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
332.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
