On Tue, November 21, 2006 10:31 pm, Tom wrote:
Im trying to use the imagejpeg function call in a php script and
I
cant quite seem to get it working properly.
Can you clarify working properly into something a bit more concrete?
Right now, we're left guessing from the most likely
Hello,
I’m trying to use the imagejpeg function call in a php script and I
can’t quite seem to get it working properly.
Here is my gd dump.
'GD Version' = 'bundled (2.0.28 compatible)' (length=27)
'FreeType Support' = true
'FreeType Linkage' = 'with freetype' (length=13)
On Tue, 2006-11-21 at 23:31 -0500, Tom wrote:
?php
$image = imagecreate(200, 200);
$colorRed = imagecolorallocate($image, 255, 0, 0);
imagefill($image, 0, 0, $colorRed);
//send image
//header(Content-type: image/jpeg);
imagejpeg($image);
?
Works for me with the header line
To: Tom
Cc: php-general@lists.php.net
Subject: Re: [PHP] problem using imagejpeg function all
On Tue, 2006-11-21 at 23:31 -0500, Tom wrote:
?php
$image = imagecreate(200, 200);
$colorRed = imagecolorallocate($image, 255, 0, 0);
imagefill($image, 0, 0, $colorRed);
//send image
//header
On Tue, 2006-11-21 at 23:42 -0500, Tom wrote:
Can you show me what your gd dump looks like?
?php
var_dump(gd_info());
?
Is that way I got mine.
Also, what php version are you using? I'm using 5.1.6.
PHP 4.4.4 and PHP 5.2.0 both compiled from source.
This is my PHP 5.2.0
5 matches
Mail list logo