Chapter Contents

Previous

Next
NEGATE

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


Chapter Contents

Previous

Next

Top of Page

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