I followed this link and this official git repo of libinsane, and setup libinsane in MSYS2 environment. I was even able to scan with scan.py file place in this folder. I have use of pretty much what scan.py is doing in my application. Can you guys suggest how I can club my project. if it is difficult to do how can I make exe of scan.py and use it as standalone application which can be invoked from my application and it will save the jpg file somewhere in the folder where my application can get it from?
Thanks