From:             [EMAIL PROTECTED]
Operating system: Redhat 6.1
PHP version:      4.0.4pl1
PHP Bug Type:     GD related
Bug description:  No output on imagepng

Imagepng gives no output and no error message if the /tmp folder is full.
The header is writed, but there is no output at all.
Would be nice if there is a message if the file can't be created.

$im = ImageCreate($xx, $yy) or die ("Cannot Initialize new GD image stream");
$black = ImageColorAllocate( $im, 0, 0, 0 );
$white = ImageColorAllocate( $im, 255, 255, 255 );
ImageLine( $im, 0, 0, $xx-1, $yy-1, $white);
header("Content-Type: image/png");
ImagePng( $im );
      


-- 
Edit Bug report at: http://bugs.php.net/?id=10454&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to