Blank Page Detection

Discussions about TWAIN & WIA scanning in GdPicture.NET using GdPictureImaging.
Post Reply
Posts: 3
Joined: Thu Mar 19, 2015 10:11 pm

Blank Page Detection

Post by bkbro » Mon Dec 14, 2015 8:24 pm


We are receiving many false positives with the IsBlank() function (no matter what confidence level we use) so we are now trying to use the scanner's built-in support for blank page detection. Unfortunately, we can not get that to work either. Here is our code:

Code: Select all

if (_pictureImaging.TwainGetState() == TwainStatus.TWAIN_SOURCE_OPEN && _pictureImaging.TwainIsAutomaticDiscardBlankPagesAvailable() && !_pictureImaging.TwainIsAutomaticDiscardBlankPagesEnabled())
TwainGetState() is returning TWAIN_SOURCE_OPEN. TwainIsAutomaticDiscardBlankPagesAvailable() is returning false even though the scanner, a Panasonic KV-S5076H, does support blank page detection. We have proven this by selecting/testing the option in Panasonic's Image Capture Plus software.

Any ideas/help would be appreciated!

Thank you,

Posts: 269
Joined: Sun Sep 02, 2012 7:30 pm

Re: Blank Page Detection

Post by Cedric » Mon Feb 08, 2016 11:11 am


If TwainIsAutomaticDiscardBlankPagesAvailable returns false it means that the device driver's either does not this feature or it is not implemented.
Because it works with the manufacturer's software it could indicate that it is not a real TWAIN capability but a proprietary implementation of it that is outside the TWAIN standard.

Unfortunately there is not much more we can say about this as we do not have this particular device for us to test and experiment with.

I hope this helps.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests