There are different image compression algorithms as well as a number of different technologies for converting optical images to digital data. They don't all work the same. Different combinations produce different results. You might get a better answer if you are more specific in your question.