JPEG (Joint Photographic Experts Group) is a format to store images. This format was created by C-Cube Microsystems as an effective method to store high-color-depth images. For example, scanned photos with smooth variations of tone and color. An algorithm of compression with loss of information is used in the JPEG format. This means that some visual quality is lost in the process and cannot be restored. It is necessary to get the highest coefficient of compression. Unpacked JPEG images rarely have the same quality as the original image, but the differences are insignificant. Compression ratio is usually set in conventional units, for example from 1 to 100. 100 is the best quality and 1 is the worst quality. The better the quality, the bigger the file size.