php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10454 No output on imagepng
Submitted: 2001-04-23 07:09 UTC Modified: 2001-06-03 07:19 UTC
From: charley at collins dot ch Assigned:
Status: Closed Package: GD related
PHP Version: 4.0.4pl1 OS: Redhat 6.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
32 + 26 = ?
Subscribe to this entry?

 
 [2001-04-23 07:09 UTC] charley at collins dot ch
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 );
      

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-03 07:19 UTC] sniper@php.net
Please try the latest release candidate (RC2) of PHP 4.0.6 from:

http://www.php.net/~andi/php-4.0.6RC2.tar.gz

Also explain this: "/tmp folder is full" ??
Do you mean there isn't any free diskspace?
This is not PHP problem..

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 07:01:29 2024 UTC