ASP Painter
Home
Home
Samples
Samples
Purchase
Purchase
Download
Download
Documentation
Documentation


ASPPainter Merge

Merge Statement:

Merge image parts

Object.Merge dstImage, srcImage, dstX, dstY, srcX, srcY, width, height, weight

Parametrs:

dstImage- destination image index [0..9]. The parameter selects the image where to a part of the source image will be merged.
srcImage- source image index [0..9]. The parameter selects the image where from image part is taken.
dstX- destination X coordinate defines where image part will be merged on the destination image
dstY- destination Y coordinate defines where image part will be merged on the destination image
srcX- source X coordinate defines where from image part starts.
srcY- source Y coordinate defines where from image part starts.
width- the width of image part to merge
height- the height of image part to merge
weighthas integer type. Possible values [0..100]. This parameter specifies color blending weight. 0 value means that only the source image will be visible, 50 value means that images will be visible equally.

Sample: Object.Merge 0, 1, 0, 0, 0, 0, 100, 100, 100

This method blends one image with another one. The source and destination images should exist. You can create image using the following methods: Create, LoadFile, LoadDatabase, LoadStream.

See also

CopyResize,Merge,SetImageIndex, LoadFile,LoadDatabase, LoadStream, Create, DestroyDestroyALL

More samples:


Copy Resize Merge
Cat, Copy, Copy, Copy with transparent, Files, Photo, Merge, Merge cat, Merge cat, Resize, Resize photo



home samples purchase documentation download