This is what an image scanner does: It optically scans images, printed text, handwriting, or something else and turns it into a digital image.