pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Image processing using PHP
2+ messages / 2 participants
[nested] [flat]

* Image processing using PHP
@ 2002-10-08 10:27  arun kv <arun@library.iisc.ernet.in>
  0 siblings, 0 replies; 2+ messages in thread

From: arun kv @ 2002-10-08 10:27 UTC (permalink / raw)
  To: pgsql-php

hai,
        I am using the code :
 <?php
                       Header("Content-type: image/jpeg");
                        $image = ImageCreate(200,150);
                        $black = ImageColorAllocate($image,204,204,204);
                        $blue = ImageColorAllocate($image,0,0,255);
                        ImageLine($image,10,10,150,30,$blue);
                        ImageJPEG($image);
                        ImageDestroy($image);
?>

   to generate and image and i am getting problems in displaying the
same.when execute this script i don't get either error or image.is the
code correct or should i add something to support this.
 i am using openBSD m/c and php is running on this.Some book suggested me
abt GD library.how do i check whether that is present in the machine.any
other alternative for this.
 pls help in this matter.
   hoping for a positive reply
           Arun




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Image processing using PHP
@ 2002-10-08 10:58  Cornelia Boenigk <poppcorn@cornelia-boenigk.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Cornelia Boenigk @ 2002-10-08 10:58 UTC (permalink / raw)
  To: arun kv <arun@library.iisc.ernet.in>; pgsql-php

Hi Arun

run phpinfo()

regards
Conni




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-10-08 10:58 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-10-08 10:27 Image processing using PHP arun kv <arun@library.iisc.ernet.in>
2002-10-08 10:58 Re: Image processing using PHP Cornelia Boenigk <poppcorn@cornelia-boenigk.de>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox