An implementation of JPEG's Discrete Cosine Transform in Python.
To compress a bitmap, run,
$ ./dct.py -encode data/puppy.bmp
To decode the result, run,
$ ./dct.py -decode data/puppy.dct
Licensed under the GNU General Public License. (see LICENSE.txt)