php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45056 gd image stream support
Submitted: 2008-05-21 10:14 UTC Modified: 2008-05-21 11:04 UTC
From: goetas at lignano dot it Assigned: pajoye (profile)
Status: Not a bug Package: Streams related
PHP Version: 5.2.6 OS: Windows XP
Private report: No CVE-ID: None
 [2008-05-21 10:14 UTC] goetas at lignano dot it
Description:
------------
missing stream  (or user stream wrapper )support

Reproduce code:
---------------
<?
$im = imagecreate();
imagejpeg($im,'php://output'); // or imagejpeg($im,'var://myvar');
?>

Expected result:
----------------
image sent to stdout or into $myvar 

Actual result:
--------------
Warning: imagejpeg() [function.imagejpeg]: Unable to open 'php://output' for writing: No such file or directory in ...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-05-21 11:04 UTC] pajoye@php.net
duplicate of #39263
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Oct 05 01:01:30 2024 UTC