I played around with few different scanning softwares on Ubuntu, and noticed that it is possible to scan from terminal by issuing quickscan command. By searching more, I found out that the image it creates is in .pnm format. I decided to add converting images from pnm to jpg format in the script.
Continue Reading