Skip to content

Implementation of the JPEG algorithm for compressing and decompressing images.

Notifications You must be signed in to change notification settings

Giorgos-Arg/jpeg-compression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

jpeg-compression

This python program implements the JPEG algorithm for compressing and decompressing images.

Usage

py .\src\jpeg_compression.py <input_image> <multiplying_factor>
  • As the multiplying factor increases, the image quality loss and the compression ratio increase.

Example

py .\src\jpeg_compression.py data/sammy.tif 2.0
MSE =  65.32288718985515
PSNR =  29.9801498910653
SSIM =  0.8000301386396013
Compression Ratio =  0.2612508847993613

Author

Giorgos Argyrides (g.aryrides@outlook.com)

About

Implementation of the JPEG algorithm for compressing and decompressing images.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages