3. Okay, now (Best web design) do as you re told. Try
3. Okay, now do as you re told. Try it out, already! Although you don t have the logo.gif file, use any file you like just make sure your script can find it. Your screen should look something remotely resembling that in Figure 7-7. Figure 7-7 How It Works You have simply added another option for your users; and you did it using the imagecopymerge() function in modifyimage.php. Note that before you could merge the two images, you had to make the second image GD friendly by creating a duplicate copy. Because your image was a GIF image, you used the imagecreatefromgif function. Look at this line from that script: imagecopymerge($image, $image2, 0,0,0, 0, $width, $height, 15); The parameters for the imagecopymerge function are as follows, in this order: 1. The name of the destination image ($image in this example, since the $image file is the one you are making all the changes to, and the one that will be shown at the end of your script) 219 Manipulating and Creating Images with PHP
You need excellent and relaible webhost company to host your web applications? Then pay a visit to Inexpensive Web Hosting services.