Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Head.php Help.

Skilled Illusionist
Joined
Jun 16, 2011
Messages
320
Reaction score
87
Hello,

I have a head.php script coded by joopie but atm it has a grey background ( put red on it so you can see)
i was wondering how do i make it transparent?

<?php //Base from


$base = 'http://www.habbo.nl/habbo-imaging/avatarimage?figure=';
$figure = $_GET['figure'];


// Create image instances
$src = imagecreatefrompng($base.$figure);
$dest = imagecreate(64, 64);

// Copy
imagecopy($dest, $src, 0, 7, 0, 12, 57, 57);

// Output and free from memory
header('Content-Type: image/gif');
imagegif($dest);
echo "(c) sulake!";

imagedestroy($dest);
imagedestroy($src);
?>

Thanks,
Josh
 
Back
Top