#39263 [Opn->Asn]: Enable image(gif|jpg|png) functions to save to a php stream
| From: | pajoye@php.net | Date: | Thu, 26 Oct 2006 12:43:03 +0000 |
| Subject: | #39263 [Opn->Asn]: Enable image(gif|jpg|png) functions to save to a php stream | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-104008@lists.php.net to get a copy of this message | ||
ID: 39263
Updated by: pajoye@php.net
Reported By: wb at pro-net dot co dot uk
-Status: Open
+Status: Assigned
Bug Type: Feature/Change Request
Operating System: ALL
PHP Version: 5.1.6
-Assigned To:
+Assigned To: pajoye
New Comment:
I cannot agree more. I have a patch for a general imageto function, it
needs clean up and to be updated for the current head. I'm not sure
when I will do it but this feature will be in php, and the sooner the
better.
Previous Comments:
------------------------------------------------------------------------
[2006-10-26 08:54:20] wb at pro-net dot co dot uk
Description:
------------
It would be nice to be able to save a GD image directly to an already
open php stream.
Reproduce code:
---------------
<?php
// $fp is any valid php stream resource.
// $im is a GD image resource.
imagepng($im, $fp);
?>
Expected result:
----------------
Image saved using the stream $fp.
Actual result:
--------------
Nothing :)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39263&edit=1