Commands Used with the IMGCTRL, IMGOP and PICFILL Functions |
Replicates the current image
rc=IMGOP(task-id, 'TILE', new-width, new-height);
|
-
new-width
-
is the width (in pixels) for the tiled images
to fill.
Type: Numeric
-
new-height
-
is the height (in pixels) for the tiled
images to fill.
Type: Numeric
TILE acts on the currently selected
image. The area defined by new-width×new-height is filled beginning in the upper left corner. The
current image is placed there. Copies of the current image are added to the
right until the row is filled. This process then starts over on the next
row until the area defined by new-width×new-height is filled. For example, if the current image is
40×40 and new-width×new-height is 200×140, then the current image is replicated
5 times in width and 3.5 times in height. This technique is useful for creating
tiled backdrops.
Note: Before tiling an image,
you must turn off the SCALE option for the image. ![[cautionend]](../../../../common/62850/HTML/default/images/cautend.gif)
Create a 480×480 tiled image from a 48×48
image:
rc=imgop(task-id,'READ','sashelp.c0c0c.access','format=cat');
rc=imgop(task-id,'TILE',480,480);
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.