Re: [PHP] problem using imagejpeg function all

2006-11-22 Thread Richard Lynch
On Tue, November 21, 2006 10:31 pm, Tom wrote: > I’m trying to use the imagejpeg function call in a php script and > I > can’t 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 scen

RE: [PHP] problem using imagejpeg function all

2006-11-21 Thread Robert Cummings
On Tue, 2006-11-21 at 23:42 -0500, Tom wrote: > Can you show me what your gd dump looks like? > > > 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 var_du

RE: [PHP] problem using imagejpeg function all

2006-11-21 Thread Tom
neral@lists.php.net Subject: Re: [PHP] problem using imagejpeg function all On Tue, 2006-11-21 at 23:31 -0500, Tom wrote: > $image = imagecreate(200, 200); > $colorRed = imagecolorallocate($image, 255, 0, 0); > imagefill($image, 0, 0, $colorRed); > > //send image > //header(&q

Re: [PHP] problem using imagejpeg function all

2006-11-21 Thread Robert Cummings
On Tue, 2006-11-21 at 23:31 -0500, Tom wrote: > $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 lin