[ Main Menu ] [ Extension Tools Menu ] [ Professional Edition Menu ]

<iIMAGECOPY> Tag


<iIMAGECOPYDSTNAME=""
SRCNAME=""
X1=""
Y1=""
X2=""
Y2=""
WIDTH=""
HEIGHT=""
>

UsageThis tag is used to copy a rectangular portion of one image to another image. The DSTNAME argument is the destination image to which the region will be copied. The SRCNAME argument is the source image from which the region is copied. The X1 and Y1 arguments specify the point in the destination image to which the region will be copied. The X2and Y2 arguments specify the upper left corner of the region in the source image. The WIDTH and HEIGHT arguments specify the width and height of the region.
When you copy a region from one location in an image to another location in the same image, iIMAGECOPY will perform as expected unless the regions overlap, in which case the result is unpredictable.
NoteWhen copying between images: since different images do not necessarily have the same color tables, pixels are not simply set to the same color index values to copy them. iIMAGECOPY will attempt to find an identical RGB value in the destination image for each pixel in the copied portion of the source image.


Top