Bug #63641 [Asn->Csd]: imagepng and other save functions ignore streams
| From: | stas@php.net | Date: | Wed, 28 Nov 2012 23:24:14 +0000 |
| Subject: | Bug #63641 [Asn->Csd]: imagepng and other save functions ignore streams | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-175009@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63641&edit=1
ID: 63641
Updated by: stas@php.net
Reported by: stas@php.net
Summary: imagepng and other save functions ignore streams
-Status: Assigned
+Status: Closed
Type: Bug
Package: GD related
Operating System: *
PHP Version: 5.4.9
Assigned To: pajoye
Block user comment: N
Private report: N
New Comment:
oops, my fault, it was 5.3 build, not 5.4. 5.4 works fine. Sorry for the noise.
Previous Comments:
------------------------------------------------------------------------
[2012-11-28 23:11:51] stas@php.net
Description:
------------
imagepng() and other functions that call _php_image_output() ignore PHP streams
and instead call directly VCWD_FOPEN. This means that no streams work with these
functions, and no handler that works within stream system works with this
functions. Since most of the streams can be represented as FILE*, there's no
reason not to use proper streams API instead of fopen.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63641&edit=1