Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.08 KB

README.md

File metadata and controls

32 lines (21 loc) · 1.08 KB

micro-jpeg-visualizer

Intro

This a a JPEG visualizer in just 280 250 lines in easy to read Python 3.0 code.

Features

  • No external libraries were used
  • Friendly code can be easily ported to any other languages and embedded devices
  • It works with JPG's that are made of 8x8 blocks and 3 channels (Y, Cr, Cb).
  • Its slow, that is because the IDTC, it is done using brute force

Feel free to drop me a mail if you find this useful :-)

Funny Facts

  • I wrote it just to make sure I understood how JPG work
  • It took me 3 evenings to finish it up
  • the most difficult part was handling the run length encoding that I had to reverse engineer myself.
  • I used notepad and debugged it using print
  • I used python because it was the handiest thing I had
  • What an amazing feeling to see such a simple piece of code displaying a pic!

Credits

by Raul Aguaviva

This project wouldn't have been possible without the hard work of these folks: