Skip to content

Latest commit

 

History

History
executable file
·
19 lines (15 loc) · 623 Bytes

README.md

File metadata and controls

executable file
·
19 lines (15 loc) · 623 Bytes

JpegEncoderPython

The aim of the project is the encoding a raw image using JPEG. The input is a raw image generally a bitmap(bmp).

  1. Divide image into 8x8 blocks.
  2. Apply DCT to each blocks.
  3. Quantize each block with Psycohovisual Quantization Table.
  4. Run-Length coding. (Find the repetitions.)
  5. Huffman coding.
  6. Write evertihing to a file.

Todo

Zero shifting-Done.
Huffman coding-T1-Done.
Huffman coding-T2.-Done.
Huffman coding-T3.-Done.
It is for one chunk. I will do it for all image. -Done
Writing Errors While Binary File(Check Define Huffman/Quantiation Table)