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

This branch is 5 commits ahead of, 27 commits behind xdsopl/img:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f048cea · Sep 7, 2022

History

5 Commits
Sep 7, 2022
May 6, 2021
Sep 7, 2022
Sep 7, 2022
Sep 7, 2022

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

No packages published

Languages

  • C 98.5%
  • Makefile 1.5%