Log in

View Full Version : Argh, i need help!



Verrou
20-02-2007, 04:01 AM
Ok i know there's heaps of threads on this but does anyone have the code or whatever to crop an image on a php page and make the bg transperant?

Please help.
Ver.

Voldemort
20-02-2007, 04:36 AM
It's possible, but I don't have the time to make it...

Use these functions...

header("Content-type: image/gif");
...
$im = imagecreatefrompng("images/button1.png");
...
imagecolortransparent($img,$trans);
...
imagegif($img,'trans.gif');
imagedestroy($img);

Verrou
20-02-2007, 05:09 AM
I need something i can use with my habbo imager.

Because right now i have this:
http://www.habbohotel.com.au/habbo-imaging/collagepr?name_2_txt=0&name_2_y=-117&name_2_x=-491&h_2_dir=4&h_2_name=0&h_2_frame=0&h_2_gesture=0&h_2_action=0&h_2_y=0&h_2_x=50&name_1_txt=Fushiku&name_1_y=-597&name_1_x=-471&stampY=-1048&stampX=-1019&h_1_dir=4&h_1_name=Fushiku&h_1_frame=0&h_1_gesture=sml&h_1_action=wav&h_1_y=0&h_1_x=0&overlay=0&overlayY=-95&overlayX=-39&logoY=-300&logoX=-300&bkg=0&bkgY=-95&bkgX=-39&bkgColor=FFFFFF&picH=300&picW=65&quality=5&img-format=png&xml-template=imageCreator_1_name

And i want this:
http://andrehamon.evenhosting.com/fush.png

Anyone?

Voldemort
20-02-2007, 08:41 AM
Don't use the old imager is my best advice.

Verrou
21-02-2007, 05:59 AM
mmk :D

Want to hide these adverts? Register an account for free!