Commands Used with the IMGCTRL, IMGOP and PICFILL Functions |
Syntax | |
Details | |
Example |
Syntax |
rc=IMGOP(task-id, 'PASTE_AUTO'<, x, y>); |
is the X coordinate (on the display) of the top left corner of the image.
is the Y coordinate (on the display) of the top left corner of the image.
Details |
PASTE_AUTO acts on the currently selected image. It provides the same basic function as PASTE. In addition, PASTE_AUTO modifies an image by dithering it (changing the color map) or quantizing it (reducing the number of colors it uses), so that you can display it on the current device. It also attempts to prevent switching to false colors or to a private color map.
Example |
Automatically display an image with its upper left corner at 200, 200:
if (display=1) then rc=imgop(task-id,'PASTE_AUTO',200,200);
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.