| Commands Used with the IMGCTRL, IMGOP and PICFILL Functions |
| 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');
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.