Chapter Contents

Previous

Next
GRAB_CMAP

GRAB_CMAP



Grabs the color map from the selected image


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');


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.