GD.DLL (PHP_GD.DLL)
| From: | Rakic Sasa & Snezana | Date: | Sat, 17 Jun 2000 15:50:26 +0000 |
| Subject: | GD.DLL (PHP_GD.DLL) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-2131@lists.php.net to get a copy of this message | ||
Hi there,
I am searching for way to return Image from
PHP (3 or 4) source to the browser. To do
this I need function for converting Image
to the GIF or JPEG. Does anybody have
newest GD.DLL with support for JPEG images ?
I need DLL versions for both Windows and Linux.
I have downloaded GD sources but can't
compile them so I need compiled DLLs.
Sources that does not works:
<?php
Header("Content-type: image/gif");
$im = imageCreate(600,200);
ImageGif($im);
ImageDestroy($im);
?>
or
<?php
Header("Content-type: image/jpeg");
$im = imageCreate(600,200);
ImageJPEG($im);
ImageDestroy($im);
?>
Greetings,
Sasa