![]() Chapter Contents |
![]() Previous |
![]() Next |
| Image Data Model: _isBlank |
| Restrictions: | Used only with monochrome (black-and-white) images |
| Syntax | |
| Details | |
| Example |
Syntax |
| CALL SEND (object-id, '_isBlank', status); |
| Argument | Type | Description | |
|---|---|---|---|
| status |
N | a value indicating whether the current page is blank: | |
| 1 | blank | ||
| 0 | not blank | ||
| Details |
_isBlank checks an image to see if all the pixels are the same. Pixels around the edge of the image are ignored and a few noise pixels in the middle are allowed. Blank pages can be used to separate documents when scanning multiple pages.
| Example |
call send (imdat_id, '_read_', 'hpscan',
'device=scanner, dpi=100');
call send (imdat_id, '_is_blank_', blank);
if (blank=1) then
put 'Ignore this blank page.');
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.