JPEG is a lossy compression format. I'm not sure how much Java will try to compress a JPEG, but the more it does the more different your results will be. If you want an non-lossy compression format,...