Chapter Contents |
Previous |
Next |
SET_PIXEL |
Syntax | |
Details | |
Example |
Syntax |
rc=IMGOP(task-id, 'SET_PIXEL', x, y, red<, green, blue>); |
Type: Numeric
Type: Numeric
Type: Numeric
Type: Numeric
Type: Numeric
Details |
SET_PIXEL acts on the currently selected image. It can be used with either a new image or an existing image. The colors for a CMAP and an RGB image must be between 0 and 255. If any value is out of range, an error is returned. For a GRAY image, SET_PIXEL returns either 0 or 1 for red.
Example |
See the example for CREATE_IMAGE.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.