Image scanner
Charge-coupled device or Contact Image Sensor parts take the light from the object and change it into a digital signal. The digital signal is then transferred to the computer memory or is read in the scanner's processor. With some software it can be changed to a compressed digital image, like JPEG or PNG. Text printed or written by hand can be changed to ASCII code by an OCR program.