Edit report at http://bugs.php.net/bug.php?id=39263&edit=1
ID: 39263 Updated by: [email protected] Reported by: wb at pro-net dot co dot uk Summary: Enable image(gif|jpg|png) functions to save to a php stream -Status: Assigned +Status: Closed Type: Feature/Change Request Package: GD related Operating System: * PHP Version: * Assigned To: pajoye Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Feature implemented in trunk. You can get it using http://snaps.php.net or windows binaries from http://rmtools.php.net/snaps/ (revision > 30719). Previous Comments: ------------------------------------------------------------------------ [2010-01-14 12:19:30] lgynove at 163 dot com still not fix... three year ------------------------------------------------------------------------ [2008-08-17 11:32:31] [email protected] Pierre, are you still working on that bug or maybe you need some help? ------------------------------------------------------------------------ [2006-10-26 12:43:02] [email protected] 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/bug.php?id=39263&edit=1
