[rem] Tiled Images Example [rem] [rem] This example will create an image with a tiled array of images. [rem] See the [rem]arks below for setting up your canvas size and number of images. [rem] [rem] Set white Canvas color [rem] ColorCanvas RGB=255,255,255 [rem] [rem] Open Canvas at desired size [rem] [rem] Tip: To calculate the canvas width, multiply the width of each image [rem] times the number of columns. Do the same for the height. [rem] In this example each image is 300 wide X 375 high and we want [rem] an 8 by 6 tile array, so the canvas Width = 300 X 8 = 2400 pixels [rem] and the canvas Height is 375 X 6 = 2250 pixels. [rem] FileNew Pixels=2400,2250 Dpi=300 Model=RGB [rem] [rem] The following line ensures the images are pllaced in alphabetical order. [rem] Tip: Change "WildSort=Yes" to "WildSort=No" for an unsorted order. [rem] [OPTIONS] WildSort=Yes SortOrder=Up [rem] [rem] The following commands paste the images: [rem] [rem] Start first loop [rem] Set "Start=" to bottom edge margin of canvas [rem] Set "Incr=" to height of each image size [rem] Tip: Increase value to add borders between images (be sure to increase canvas size accordingly) [rem] Set "Times=" to number of Rows in tile array [rem] [LOOP] Start=0 Incr=375 Times=6 [rem] [rem] Start second loop [rem] Set "Start=" to left edge margin of canvas [rem] Set "Incr=" to width of each image size [rem] Tip: Increase value to add borders between images (be sure to increase canvas size accordingly) [rem] Set "Times=" to number of Columns in tile array [rem] [LOOP] Start=0 Incr=300 Times=8 [rem] [rem] Paste the images [rem] [rem] Tip: Change the "Filename=" argument for your drive and folder. [rem] In this example we use a 'wildcard' specifier ( * ) in the name to tell [rem] the program to cycle through all the files in the folder. See "Queue Loops" [rem] in the online Help for more information on how file names can be specified. [rem] [rem] Set the "Size=" arguments to the desired size of the pasted image [rem] Tip: For best results, all original images should have the same width to height proportions. [rem] [rem] Tip: The "Locate=#0,#1" parameter tells the program to use the value [rem] of each loop increment when placing the images. Do not change this. [rem] EditPaste Filename="c:\Jewelry\*.jpg" Source=File Size=300,375 Locate=#0,#1 Angle=0 Skew=0 Mask=None Trans=255 Calc=Normal Qual=3,3 Paste=Yes [rem] [rem] End both loops [rem] [LOOPEND] [LOOPEND]