JPEG encoding loses information. But it is JPEG decoding that introduces artifacts by filling the missing information with noise. jpeg2png is smarter and fills the missing information to create the smoothest possible picture.

WWW: https://github.com/ThioJoe/jpeg2png
