Commands Used with the IMGCTRL, IMGOP and PICFILL Functions |
Grabs the color map from the selected image
rc=IMGOP(task-id, 'GRAB_CMAP');
|
After the color map is grabbed, it can
be applied to another image with either the DITHER command or the MAP_COLORS
command.
Grab the color map of one image and then apply it to
another image with the DITHER command:
rc=imgop(task-id,'READ','image-1');
rc=imgop(task-id,'GRAB_CMAP');
rc=imgop(task-id,'READ','image-2');
rc=imgop(task-id,'DITHER');
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.