![]() Chapter Contents |
![]() Previous |
![]() Next |
| Image Data Model: _ditherBw |
| Syntax | |
| Details | |
| Example |
Syntax |
| CALL SEND (object-id, '_ditherBw'); |
| Details |
This method reduces an image to a 1-bit gray-scale image. Because of the algorithm used, _ditherBw is much more efficient for this task than the general purpose _dither method.
| Example |
This example converts a BMP image to a monochrome TIFF image:
call send (imgdat_id, '_readFilepath',
'input.bmp', 'format=bmp');
call send (imgdat_id, '_ditherBw');
call send (imgdat_id, '_writeFilepath',
'output.tif', 'format=tiff');
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.