Skip to content

Playing with lossless image compression based on the quadtree data structure

License

Notifications You must be signed in to change notification settings

Special-graphic-formats/lqt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

LQT

Playing with lossless image compression based on the quadtree data structure

Quick start:

Encode smpte.ppm PNM picture file to encoded.lqt:

./lqtenc smpte.ppm encoded.lqt

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

./lqtdec encoded.lqt decoded.ppm

Watch decoded.ppm picture file in feh:

feh decoded.ppm

Disable color space transformation:

Use the sRGB color space directly instead of the default 1 Reversible Color Transform:

./lqtenc smpte.ppm encoded.lqt 0

Limited storage capacity

Use up to 65536 bits of space instead of the default 0 (no limit) and discard quality bits, if necessary, to stay below 65536 bits:

./lqtenc smpte.ppm encoded.lqt 1 65536

About

Playing with lossless image compression based on the quadtree data structure

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 98.4%
  • Makefile 1.6%