I've seen this in a few different places already, so I know it can be done, but not only am I confused as to HOW to do it, but I can't even think of what to call it to search for it :/
Basic idea - PHP places one image (defined by the user using a dropbox) in a 'field'. Based on more input by the user, it will place another image over it, creating a third image. It can layer endless amounts of images.
For example: Let's say this is one image: (x's are black pixels and -'s are white ones)
x---x-xx
--x-xx-x
-x-x-x-x
And that this is another one:
-xxx-x--
xx-x--x-
x-x-x-x-
And when you 'overlay' them you get:
xxxxxxxx
xxxxxxxx
xxxxxxxx
Or
--------
--------
--------
Depending on what you specify.
If you want working examples, ask me, I can get you some. If you know what I mean, though, please help!
Thanks,
Ghost //