Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2006
    Location
    Kent, UK
    Posts
    627
    Tokens
    138
    Habbo
    Romanity

    Latest Awards:

    Default PHP GD: Images on images

    Oki, so i got my basic thingy, the stand with the habboname and mission on it, but now i need to know how to put an image on top.

    I have the coding and the image, but need the function to put it on...

    anyone know?

  2. #2
    Join Date
    Jan 2007
    Location
    West Yorkshire
    Posts
    384
    Tokens
    0

    Default

    You would use the imagecopy function.

    http://us3.php.net/imagecopy

    “two players, two sides.
    one is light, one is dark.”
    - John Locke

  3. #3
    Join Date
    Aug 2004
    Location
    bristol
    Posts
    3,799
    Tokens
    0

    Latest Awards:

    Default

    PHP Code:
      $i1 imagecreatefromgif('i1.gif');
      
    $i2 imagecreatefromgif('i2.gif');
      
    $x 50;
      
    $y 50;
      
    imagecopymerge($i1$i2$x$y00imagesx($i2), imagesy($i2), 100); 
    Last edited by nets; 23-02-2007 at 12:50 PM.
    kinda quit.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •