Chapter Contents |
Previous |
Next |
SCALE |
Syntax | |
Details | |
Example |
Syntax |
rc=IMGOP(task-id, 'SCALE', width, height<, algorithm>); |
region-id=PICFILL(graphenv-id, type,
ulr, ulc, lrr, lrc, source<, 'SCALE'<, arguments>>); |
Type: Numeric
Type: Numeric
Type: Character
Details |
SCALE acts on the
currently selected image. It scales the image to a new image. If you specify -1
for either width or height,
then SCALE preserves the image's aspect ratio.
Example |
Double the size of an image:
main: rc=imgop(task-id,'READ',path); rc=imgop(task-id,'QUERYN','WIDTH',width); rc=imgop(task-id,'SCALE',2*width,-1); rc=imgop(task-id,'PASTE'); return;
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.