Detecting Blank Images

Top  Previous  Next

If your application desires to detect whether a DIB (Device Independent Bitmap) represents a blank page, the DTWAIN_IsDIBBlank function provides this utility.

 

The DTWAIN_IsDIBBlank function is a general purpose function, and will work for any Device Independent Bitmaps, regardless if they were generated by DTWAIN or not.  However, the DTWAIN system must be initialized (DTWAIN_SysInitialize and similar functions must be called) before accessing this function.