- This topic has 1 reply, 2 voices, and was last updated 17 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
The TWAIN Resource site is designed to help TWAIN users and prospective users find resources in the community for TWAIN-related products and services. Become a member.
Home › Forums › TWAIN Classic › Empty page scan
Hi,
I am wondering if there is any way I could know, when the page is scanned, if it is empty page or has something on it??
Thank you.
Jure Decman
an empty page…
but what is an empty page? Does an image count as empty if it is all white or all black?
I don’t believe that there are any twain api solutions to this, but I think there are several general image programing solutions. Maybe the closest thing to a twain solution is in extImageInfo and i don’t think you’re looking for that info.
The first nonTWAIN solution that comes to mind is to calculate the image’s histogram – if there is only one color present I’d you’re holding an image that i guess you could consider empty.