Why JPEG is like a photocopier