Chapter Contents

Previous

Next
ROTATE

ROTATE



Rotates an image clockwise by 90, 180, or 270 degrees


Syntax
Details
Example

Syntax

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


Details

ROTATE acts on the currently selected image.


Example

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;


Chapter Contents

Previous

Next

Top of Page

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