JPEGmini technology has two main components: The first is an image quality detector, which imitates the perceptual qualities of the human visual system, to determine the maximum amount of compression which can be applied to each individual photo without causing visible artifacts. The second is a unique JPEG encoder, which adapts the JPEG encoding process to the original photos, creating the most compact representation of the photos that is possible under the JPEG standard. Combining these two components enables JPEGmini to achieve an extremely high recompression ratio of up to 5x, or 80% reduction on digital photos, depending on their resolution.