Commands Used with the IMGCTRL, IMGOP and PICFILL Functions |
Assigns the RGB values for the index positions of a color map
for the current image
rc=IMGOP(task-id, 'SET_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
SET_COLORS acts on the currently selected
image. It can be used with either a new image or an existing image. If index is outside the valid range for the color map, an error
is returned. The color values must be between 0 and 255.
See the example for
CREATE_IMAGE.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.