I am implementing the Twain SDK and using it in modeless mode. My goal is to support a variety of Twain scanners. Here is a broad outline of my requirements:
1. Scan documents in modeless mode
2. For each image that is acquired, write it to the disk
3. Display the scanned image in an image viewer - the user should be able to manipulate the images while the documents are being scanned
If you have best practices as to how best to improve the overall response time, it would be of great help in improving what I am doing.
I am already a licensee of the Twain SDK and I am using the modeless mode. I find that saving the image to disk is an IO operation that could be taking time and seems to slowing the scanning operation. Do you have any examples to illustrate how this could be done in async mode? I am scanning at 300 DPI and in color.
You can go by 2 ways:
1. Store acquired images in the memory during acquisition process (please read description of the VSTwain.MaxImage property in the documentation).
2. Save acquired images to disk during acquisition process.