Previous Page | Next Page

Commands Used with the IMGCTRL, IMGOP and PICFILL Functions

NEGATE



Changes an image to a negative
Syntax
Details
Example

Syntax

rc=IMGOP(task-id, 'NEGATE');
region-id=PICFILL(graphenv-id, type, ulr, ulc,
lrr, lrc, source<, 'NEGATE'<, arguments>>);


Details

NEGATE acts on the currently selected image. It creates a photographic negative of the image by reversing the use of dark/light colors. The negative is created by replacing each color with its complement.


Example

Create a negative of an image:

if (negative=1) then
   rc=imgop(task-id,'NEGATE');

Previous Page | Next Page | Top of Page