php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #58181 cairo_surface_write_to_png_stream is missing
Submitted: 2008-04-28 18:00 UTC Modified: 2008-10-06 09:13 UTC
From: cweiske@php.net Assigned:
Status: Closed Package: cairo_wrapper (PECL)
PHP Version: 5.2.5 OS:
Private report: No CVE-ID: None
 [2008-04-28 18:00 UTC] cweiske@php.net
Description:
------------
Without cairo_surface_write_to_png_stream, I cannot stream the image directly to the browser. Currently I need to write it to disk and read it from there.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-10-06 09:13 UTC] hholzgra@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

You can use

cairo_surface_write_to_png($surface, "php://output");

or 

cairo_surface_show_png($surface);

now
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Dec 12 16:01:24 2019 UTC