Michael, thanks for the response..
Only prob is I'm using the win32 precompiled version.. I got a couple linux boxes I
could throw this on I suppose, but I was kind of hoping to use this machine as a dev
box.
I ran the same code you posted and these were my results:
Fatal error: Call to undefined function: imagecreatefromgif() in
c:\apache\htdocs\test.php on line 14
I don't get it - there are two gd dll's that come with it and I've tried both. Any
other advice would be appreciated. Thanks
-Adam
-----Original Message-----
From: Michael J. Pawlowsky [mailto:[EMAIL PROTECTED]]
Sent: Sat 1/4/2003 5:58 PM
To: Adam Plocher; [EMAIL PROTECTED]
Cc:
Subject: Re: [PHP] Read-only gif support in 4.3.0
I just installed 4.3 today... configured as
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mcrypt --with-zlib
-
-with-gd --enable-exif --with-jpeg-dir=/usr/lib --with-png --with-ttf
--with-fre
etype --enable-gd-native-ttf
I run this code:
<?php
header("Content-type: image/jpeg");
$img = imagecreatefromgif("../images/camera.gif");
imagejpeg($img);
imagedestroy($img);
?>
and it works fine....
Mike
*********** REPLY SEPARATOR ***********
On 04/01/2003 at 4:50 PM Adam Plocher wrote:
>This encoded message has been converted to an attachment.
>
>I read on PHP.net that PHP 4.3.0 has read-only GIF support in it's version
>of gdlib. I am using the windows version with apache and tried both
>php_gd.dll and php_gd2.dll and I could not access any GIF related image
>functions, however I could use JPG, PNG, etc. Does anyone know if I need
>to do anything special to get those functions to work? The function I am
>mainly needing to use is imagecreatefromgif().
>
>
>
>Thanks
>
>-Adam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php