Encode an image to sound