Commands Used with the IMGCTRL, IMGOP and PICFILL Functions |
Syntax | |
Details | |
Example |
Syntax |
rc=IMGOP(task-id, 'TILE', new-width, new-height); |
Details |
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.
Example |
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.