How to reduce photo memory size without affecting quality

Okay, let's go straight forward. I took a picture using a Canon camera and downloaded it in the computer. I found out that the memory si...