Losslessly compressing similar images

compressionimagesjpeg

I need to reduce the size of my photo library so I naturally want to compress them. Many of them are not quite identical, but still very similar (subsequent shots of the same scene). Is there any compression algorithm that takes advantage of this fact to effectively compress these images? 7zip (LZMA) is useless.

Best Answer

You might try Paq 8 (fp8_v2.zip). I just tried it myself on 1440 similar PNG images and then again on 111 similar JPG images. Here are the results.

  • 1440 PNG Files, 28,631,615 bytes => 2,058,653 bytes compressed
  • 111 JPG Files, 15,003,820 bytes => 489,096 bytes compressed

Compression of the PNG files took about 8 minutes and 550 MB of memory when using:

fp8_v2.exe -7 images *.png

Compression of the JPG files took about 5 minutes and 125 MB of memory when using:

fp8_v2.exe -5 images image12*.jpg

See also: jpg lossless image compression test