This chapter provides tutorial notes and example codes on JPG (JPEG) image file format. Topics include saving images in JPEG format; comparing file sizes of JPEG and BMP formats; comparing image quality and file size of JPEG compression quality levels: 95%, 90%, 85%, 75%, 50%, and 25%.
GIMP allows you to save images in JPEG format with a given compression quality level.
With a 100% quality level, JPEG file format has a very good compression rate. My red gradient spiral image
has 82% compression rate in JPEG format.
With a 85% quality level, JPEG file format shows some deteriorations visible in enlarged view.
85% is the quality level used by Microsoft Paint program when saving images in JPEG format.