Here's what happens:
1 - user uploads an image (a photo, max 3mb in size for the moment)
2 - user then choses an option, and a sticker is added to the image
3 - the server then creates an image with the same resolution as the original, but with the sticker applied in a random place.
So, what I have been trying to look for is for a way two get LiveCode to put image B in a random place on image A. So far, nothing has cropped up that suggests that this can be done in LiveCode, without waking through the image pixel by pixel, copying the pixels into a new image. Somewhere along the way, you have to determine if the pixel to be replaced is from the the original image, or from the sticker image. This strikes me as being very clunky, slow, and complex to write, is there a way of saying something like:
Code: Select all
Position image B on image A at postionX , positionY, angle Xdeg