GD problem
| From: | Michael Waples | Date: | Fri, 31 Mar 2000 02:46:30 +0000 |
| Subject: | GD problem | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-12934@lists.php.net to get a copy of this message | ||
I updated to PHP Version 4.0RC1 from the previous php4 release and now
the following(or any of my images) wont show an image -
<?
Header("Content-type: image/png");
$im = imagecreate(600,60);
$white = ImageColorAllocate($im, 255,255,255);
$blue = ImageColorAllocate($im, 6,5,81);
ImageTTFText($im, 20, 0, 330, 50, $blue, "fonts/arial.ttf", "Perl
Python GD FreeType");
ImagePng($im);
ImageDestroy($im);
?>
configure was - ./configure' '--enable-track-vars' '--enable-trans-sid'
'--with-apache=/usr/www/waples/apache_1.3.12' '--with--mysql'
'--with-gd=/usr/local' '--with-ttf=/usr/local' '--with-gettext'
'--disable-debug' '--with-ftp'
and from phpinfo(); i do get -
gd
Version 1.6.2 or higher with FreeType support (linked with ttf library)
which supports: PNG
anyone have an idea why ?
I never messed with GD or anything else on my server - I just updated
php