The conversion of images, characters, or sounds to digital codes so that the information may be processed or stored by a computer system.