Req #39263 [Asn->Csd]: Enable image(gif|jpg|png) functions to save to a php stream

From: Date: Mon, 03 Jan 2011 09:36:31 +0000
Subject: Req #39263 [Asn->Csd]: 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-157522@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=39263&edit=1 ID: 39263 Updated by: pajoye@php.net 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] nicos@php.net Pierre, are you still working on that bug or maybe you need some help? ------------------------------------------------------------------------ [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/bug.php?id=39263&edit=1

« previous php.bugs (#157522) next »