Commands Used with the IMGCTRL, IMGOP and PICFILL Functions |
Syntax | |
Details | |
Example |
Syntax |
rc=IMGOP(task-id, 'GRAB_CMAP'); |
Details |
After the color map is grabbed, it can be applied to another image with either the DITHER command or the MAP_COLORS command.
Example |
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.