I put together a very simple function to overlay two images (the top image uses transparency to see the one underneath) and get a new one from it.
The problem is not HOW to do it, but how to make it USEABLE!
Here is the code I have so far:
function overlay(imgnum,imgnum2,newimgnum)
set current bitmap 74
paste image imgnum1, 0, 0
paste image imgnum2, 0, 0, 1
if image exist(newimgnum)
delete image newimgnum
endif
get image newimgnum, 0, 0, 800, 600
set current bitmap 0
endfunction
As you can see, the new image is rather large. It'd be easy to just accept any two values for the size of the new image, but in my specific case, I need it to be 800x600 (A camera)
This function WORKS, and works WELL, but is very slow
I blame the "get image" command, but consequently I'm not sure how else to do this without that command. Does anyone have any better ideas for this?
The one and only,
~PlystirE~