#39263 [Asn]: Enable image(gif|jpg|png) functions to save to a php stream
ID: 39263
Updated by: nicos@php.net
Reported By: wb at pro-net dot co dot uk
Status: Assigned
Bug Type: Feature/Change Request
Operating System: *
PHP Version: 5CVS, 6CVS
Assigned To: pajoye
New Comment:
Pierre, are you still working on that bug or maybe you need some help?
Previous Comments:
------------------------------------------------------------------------
[2006-10-26 12:43:02] pajoye@php.net
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.
------------------------------------------------------------------------
[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
Thread (5 messages)