The painting analogy is perfect, the higher the resolution of the scanner, the more accurate the digital image will be to the analog original.

Music works the same way, the less the compression, the more accurate to the original recording the digital product is likely to be.