[solved]GD - adding a picture onto another

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
vigge89
Forum Regular
Posts: 875
Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden

[solved]GD - adding a picture onto another

Post by vigge89 »

I'm creating a image-script, which i want to open a template-image, and then include another image on it. I know how to deal with text, but i have no clue on how to add other images to the image i created with GD from a PNG-template.

Thanks in advance.
Last edited by vigge89 on Fri Mar 12, 2004 5:23 pm, edited 1 time in total.
User avatar
vigge89
Forum Regular
Posts: 875
Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden

Post by vigge89 »

oh, btw, the template image is png-8, and the image i want to "include" is either png, jpg or gif...
Is this possible, or should i use an png-24 instead?
User avatar
vigge89
Forum Regular
Posts: 875
Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden

Post by vigge89 »

found the function, [php_man]imagecopy[/php_man]
Post Reply