how to import two small images in php create dimage

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
ali_engr
Forum Newbie
Posts: 12
Joined: Thu Jun 21, 2007 8:08 am

how to import two small images in php create dimage

Post by ali_engr »

I have craeted an image from php code
imagecreatetruecolor(200, 200);

i want to import 4 small icon on this, those icons are jpeg images on my drive.

Any idea, [s]plz[/s] please help me.

Thanks,
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:11. Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.

Some examples of what not to do are ne1, any1 (anyone); u (you); ur (your or you're); 2 (to too); prolly (probably); afaik (as far as I know); etc.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Have you read through the image function list? imagecreatefromjpeg(), imagecopy() among others will likely be of interest.
Post Reply