Commands Used with the IMGCTRL, IMGOP and PICFILL Functions |
Rotates an image clockwise by 90, 180, or 270 degrees
rc=IMGOP(task-id, 'ROTATE',
degrees);
|
region-id=PICFILL(graphenv-id, type, ulr, ulc, lrr,
lrc, source<, 'ROTATE'<, arguments>>);
|
-
degrees
-
is the number of degrees to rotate the image:
90, 180, or 270.
Type: Numeric
ROTATE acts on the currently selected
image.
Rotate an image the number of degrees stored in RV:
main:
rc=imgop(task-id,'READ',path);
if (rv ge 90) then
do;
rc=imgop(task-id,'ROTATE',rv);
rc=imgop(task-id,'PASTE');
end;
return;
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.