Integrated file comparison using libjpeg.