php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #39263 Enable image(gif|jpg|png) functions to save to a php stream
Submitted: 2006-10-26 08:54 UTC Modified: 2011-01-03 10:36 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: wb at pro-net dot co dot uk Assigned: pajoye (profile)
Status: Closed Package: GD related
PHP Version: * OS: *
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: wb at pro-net dot co dot uk
New email:
PHP Version: OS:

 

 [2006-10-26 08:54 UTC] 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 :)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-26 12:43 UTC] 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.
 [2008-08-17 11:32 UTC] nicos@php.net
Pierre, are you still working on that bug or maybe you need some help?
 [2010-01-14 12:19 UTC] lgynove at 163 dot com
still not fix... three year
 [2010-12-20 14:18 UTC] jani@php.net
-Package: Feature/Change Request +Package: GD related -PHP Version: 5CVS, 6CVS +PHP Version: *
 [2011-01-03 10:36 UTC] pajoye@php.net
-Status: Assigned +Status: Closed
 [2011-01-03 10:36 UTC] pajoye@php.net
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).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 19:01:29 2024 UTC