Commands Used with the IMGCTRL, IMGOP and PICFILL Functions |
Returns the RGB values of the index positions of a color map for
the selected image
rc=IMGOP(task-id, 'GET_COLORS', index, red, green,
blue);
|
-
index
-
contains the identifier for the color map
index.
Type: Numeric
-
red
-
is the red value for the index.
Type: Numeric
-
green
-
is the green value for the index.
Type: Numeric
-
blue
-
is the blue value for the index.
Type: Numeric
The color values must be between 0 and
255. If index is outside the valid range for
the color map, an error is returned.
See the example for
CREATE_IMAGE.
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.