How to display an image (Image generation)

Поиск
Список
Период
Сортировка
От arun kv
Тема How to display an image (Image generation)
Дата
Msg-id Pine.BSO.4.44.0209251422200.25879-100000@library.iisc.ernet.in
обсуждение исходный текст
Ответы Re: How to display an image (Image generation)  ("Miguel Carvalho" <miguel@ipatimup.pt>)
Список pgsql-php
hai ,
        I am using the code
 <?php
 Header("Content-type: image/gif");
 $image = ImageCreate(100,50);
 $black = ImageColorAllocate($image,0,0,0);
 $white = ImageColorAllocate($image,255,255,255);
 ImageArc($image,50,25,48,0,$white);
 ImageGif($image);
 Imagedestroy($image);
?>
   to display an image but the code is not working. how shud the code be
and do i need to enable any libraries to do this. i have to get an image
and get the midpoint(xy coordinate) of that image . how do i do that.
if i run the above code i won't get any error but nothing will be
displayed. how do i do this.
             Arun


В списке pgsql-php по дате отправления:

Предыдущее
От: Justin Clift
Дата:
Сообщение: Re: Display the orginal Upper cases
Следующее
От: "Miguel Carvalho"
Дата:
Сообщение: Re: How to display an image (Image generation)