rangasamy007:1. How to avoid the scanner's pop up window when scanning the images
Twain.ShowIndicators = false;
Twain.UserInterface = DTI.ImageMan.Twain.UserInterfaces.None;
rangasamy007:2. How to auto detect the paper size while sanning the image
Some scanners may offer this capability but not many implement it. It's not a feature we offer in our code at this time.
rangasamy007:3. should adjust the scanning area/region accordingly to avoid black patches while scanning
Our new ImageMan.Net Document Edition includes a set of new document processing features including one that will return a rectangle representing the area of the image without borders. This method is called GetBorders().
rangasamy007:4. when the blank page is scanned, the blank page has to be detected and skip those pages.
Our new ImageMan.Net Document Edition includes a new feature that will allow you to skip blank pages when one is detected. Here's code to show you how to use blank page detection in your code:
// Detect blank page using default settings
ImImage img = ImImage.Load("c:\g3multipg.tif");
bool IsBlank = Analyze.IsBlankPage( img );
// Less sensitive to allow for some noise in image
IsBlank = Analyze.IsBlank( img, BlankPageSensitivity.Lowest);