SkillAgentSearch skills...

JPEG

Compression of images with JPEG algorithm using python and Huffman codes.

Install / Use

/learn @josgard94/JPEG

README

JPEG

Compression of images with JPEG algorithm using python and Huffman codes.

The implementation that was carried out in this project uses huffman codes to reduce the size of the image.

for its execution:

1.- Compile the code corresponding to the JPEG algortimo, within this code a file with probability values of each value of intensity of the image is generated.

2.- Once the algorithm has been executed, we proceed to generate the huffman codes compiling the file huffman_codes.py, this algorithm generates a text file with the codes that have been generated from the probabilities.

3.- Compile the corresponding source file to the Huffman decoder to recover the intensity values of the image.

4.- Compile the file name idct.py to recover the new image already compressed in size.

Related Skills

View on GitHub
GitHub Stars10
CategoryDevelopment
Updated1mo ago
Forks4

Languages

Python

Security Score

80/100

Audited on Feb 15, 2026

No findings