Previous Page | Next Page

Commands Used with the IMGCTRL, IMGOP and PICFILL Functions

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

Previous Page | Next Page | Top of Page