Nhwcodec
NHW : A Next-Generation Image Compression Codec
Install / Use
/learn @rcanut/NhwcodecREADME
NHW Image Codec
A Next-Generation Free Open-Source Image Compression Codec
The NHW codec is an experimental codec that compresses for now 512x512 bitmap 24bit color images using notably a wavelet transform.
The NHW codec presents some innovations and a unique approach: more image neatness/sharpness, and aims to be competitive with current codecs like for example x265 (HEVC), Google WebP,...
Another advantage of the NHW codec is that it has a high speed, making it suitable for mobile, embedded devices.
How to compile?
- With mingw/gcc
$ cd decoder && gcc *.c -O3 -o nhw-dec
$ cd encoder && gcc *.c -O3 -o nhw-enc
- With CMake
$ mkdir build && cd build && cmake ../ && make
To encode an image (512x512 bitmap color image for now):
encoder options: quality settings: -q[1..23] {default: 20}
example:
$ nhw-enc image.bmp image.nhw
$ nhw-enc -q10 image.bmp image.nhw
To decode:
$ nhw-dec image.nhw image.bmp
Related Skills
node-connect
340.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.1kCreate 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
340.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.1kCommit, push, and open a PR
