Skip to content
forked from rcanut/nhwcodec

NHW : A Next-Generation Image Compression Codec

License

Notifications You must be signed in to change notification settings

hackfin/nhwcodec

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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?

For Windows: gcc *.c -O3 -o nhw_en/decoder.exe

For Linux: see Makefiles in sub folders

To encode an image (512x512 bitmap color image for now): nhw_encoder.exe imagename.png

encoder options: quality settings: -h1..3 or -l1..19

Windows:

example: nhw_encoder.exe imagename.png -l3

To decode: nhw_decoder.exe imagename.nhw

Linux:

nhwenc imagename.png -l3

nhwdec imagename.nhw

About

NHW : A Next-Generation Image Compression Codec

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 99.7%
  • Makefile 0.3%