Page 14 of 15 FirstFirst ... 4101112131415 LastLast
Results 131 to 140 of 150
  1. #131
    Join Date
    Feb 2006
    Location
    Coventry
    Posts
    2,096
    Tokens
    0

    Latest Awards:


  2. #132
    Join Date
    Apr 2005
    Location
    North Carolina, USA
    Posts
    4,535
    Tokens
    0

    Latest Awards:

    Default

    I have already done both of those.. months ago..

  3. #133
    Join Date
    Oct 2006
    Posts
    2,918
    Tokens
    946
    Habbo
    Verrou

    Latest Awards:

    Default

    OMG COOL!
    Could you possibly make one for habbo.com.au?
    If you can i'll rep ya lolz

    Ver
    Quote Originally Posted by Special-1k View Post
    How do you uninstall an internet? I want to uninstall my Google Chrome and
    get firefox but I never really got rid of an internet my dad usually did it for me.
    If you know how post below so I can do this.

  4. #134
    Join Date
    Feb 2006
    Location
    /usr/local
    Posts
    2,809
    Tokens
    688

    Latest Awards:

    Default

    any way get bAck onto topic how to crop.....

  5. #135
    Join Date
    Oct 2006
    Posts
    2,918
    Tokens
    946
    Habbo
    Verrou

    Latest Awards:

    Default

    Argh i'm sorry for the big bump, please don't close!
    Did anyone ever find out how to crop and make the bg transperant????

    So i need to know

    Please don't close,
    Ver.

    P.S: Ew ignore my nooby comment above pls.
    Quote Originally Posted by Special-1k View Post
    How do you uninstall an internet? I want to uninstall my Google Chrome and
    get firefox but I never really got rid of an internet my dad usually did it for me.
    If you know how post below so I can do this.

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

    Default

    To make a certain color transparent you would first use the imagecolorallocate function then the imagecolortransparent.

    eg

    PHP Code:
    $white imagecolorallocate($im255255255);
    imagecolortransparent($im$white); 

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

  7. #137
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    Quote Originally Posted by Th0m4s View Post
    To make a certain color transparent you would first use the imagecolorallocate function then the imagecolortransparent.

    eg

    PHP Code:
    $white imagecolorallocate($im255255255);
    imagecolortransparent($im$white); 
    Or you could use your habbo functions?

  8. #138
    Join Date
    Jul 2006
    Location
    Athens
    Posts
    842
    Tokens
    0

    Default

    Brought this code back to life.

    view.php
    Code:
    <html>
    
    <head>
    <title>What does your habbo look like?</title>
    </head>
    
    <body>
    <form method="post" action="habbo.php">
    <strong>Habbo Imager</strong><br>
    Habbo Name: <input type="text" name="habboname" size="30" />
    <br><input type="submit" value="View" />
    </form>
    </body>
    
    </html>
    habbo.php
    Code:
    <?php
    header("Content-type: image/gif");
    $habbo = $habboname;
    $domain = 'http://www.habbo.co.uk';
    $content = file_get_contents($domain . '/home/'.$habbo);
    $div_start = explode('<div class="profile-figure">', $content, 2);
    $div_end = explode('</div>', $div_start[1], 2);
    $img = trim($div_end[0]);
    $img = preg_replace('/<img alt=\"(.*?)\" src=\"(.*?)\" \/>/', '$2', $img);
    $imag = $domain.$img;
    $im = imagecreatefromgif($imag);
    $white = imagecolorallocate($im, 255, 255, 255);
    imagecolortransparent($im, $white);
    imagegif($im);
    imagedestroy($im);
    ?>
    This will also make the background transparent


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

    Default

    Drompo the code above grabs the one from the habbo home, it is already transparent.

    Verrou is using the old Habbo Imager so he can have waving etc I think.

    @Blob - Yes you could

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

  10. #140
    Join Date
    Oct 2006
    Posts
    2,918
    Tokens
    946
    Habbo
    Verrou

    Latest Awards:

    Default

    Awesome thanks! SO i got it transperant now how do i crop the image?

    O_O
    Soz im real noob at php
    Quote Originally Posted by Special-1k View Post
    How do you uninstall an internet? I want to uninstall my Google Chrome and
    get firefox but I never really got rid of an internet my dad usually did it for me.
    If you know how post below so I can do this.

Posting Permissions

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