You are here: Re: Can GD load an image from another php script? « PHP Programming Language « IT news, forums, messages
Re: Can GD load an image from another php script?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация