|
Posted by Darkbyte [Work] on 10/13/47 11:36
> Assuming I'm going to put the stuff into a function, and assuming I'm
> going to create a php script that just calls that function so I can load
> the image directly from html code, how can it help me with
> imagecreatefrompng()?
> How could I use the function with imagecreatefrompng()?
DONE!!! DONE!!! AUHAUHAUHAUHAUHAUHA LOOOOOOLLLLL :)
function mystuff($width=1, $height=1)
{
$img = imagecreatetruecolor($width, $height);
/* stuff here */
imagepng($img);
}
$img = imagecreatefromstring(mystuff(320, 200));
header("Content-type: image/png");
imagepng($img);
imagedestroy($img);
That's cool!!! :)
Thanks everybodyyyyyyyy!!!
:) :) :) :)
--
Quando noi ignoranti eravamo di più, tutto era più bello...
(A. Celentano)
Per rispondermi in privato:
s e p r a n o(punto)a n t o n i o(chiocciola)l i b e r o(punto)i t
Navigation:
[Reply to this message]
|