Distribution prediction for image compression: An experimental
  re-compressor for JPEG images
Maxim Koroteev Yaroslav Borisov Pavel Frolov
We propose a new scheme to re-compress JPEG images in a lossless way. Using a
JPEG image as an input the algorithm partially decodes the signal to obtain
quantized DCT coefficients and then re-compress them in a more effective way.