Page 1 of 1

Join two images together

Posted: Sun Oct 23, 2011 7:31 am
by A7x
Hi there.

I'm stuck at one problem and I don't know how should I solve this problem, I hope you guys can help me out. I don't need the entire script, just point to the right direction. I have two images. First is a border with alpha channel, let's say this is my image:
(note: You need to click the image in order to see it.)
Image

Now I have the second one, something like this:
Image

I would like to join these two images together. I have no idea how to do that. Basically, I want to add a border to the 'sun' image via PHP script.

Thank you

Re: Join two images together

Posted: Sun Oct 23, 2011 7:34 am
by Celauran

Re: Join two images together

Posted: Sun Oct 23, 2011 10:20 am
by A7x
i cant believe i forgot about GD image library. thank you. :)