Skip to content

aguaviva/micro-jpeg-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

in only 250 lines of code (no libs, just vanilla code)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages