Scan images with the Scanner Access Now Easy API. More information: http://sane-project.org/man/scanimage.1.html.
scanimage -L
scanimage --format=pnm|tiff|png|jpeg > path/to/new_image