Skip to content

Playing with lossy image compression based on tile prediction and the discrete wavelet transformation

License

Notifications You must be signed in to change notification settings

Special-graphic-formats/itw

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ORG.SGF: GitHub release (latest by date) GitHub Release Date GitHub repo size GitHub all releases GitHub

ITW

Playing with lossy image compression based on tile prediction and the discrete wavelet transformation

Quick start:

Encode PNM picture file to encoded.itw:

./itwenc smpte.ppm encoded.itw

Decode encoded.itw file to decoded.ppm picture file:

./itwdec encoded.itw decoded.ppm

Watch decoded.ppm picture file in feh:

feh decoded.ppm

Adjusting quantization

Use quantization values instead of the default 128 32 32 values:

./itwenc smpte.ppm encoded.itw 64 32 16

Use different wavelet

Use the reversible integer Haar wavelet instead of the default 0 CDF 9/7 wavelet for lossless compression:

./itwenc smpte.ppm encoded.itw 128 32 32 1

About

Playing with lossy image compression based on tile prediction and the discrete wavelet transformation

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • C 98.5%
  • Makefile 1.5%