CairoImageSurface::getData

(PECL cairo >= 0.1.0)
Gets the image data as string
public string CairoImageSurface::getData ( void )

Returns the image data of this surface or NULL if surface is not an image surface, or if CairoContext::finish(), procedural : cairo_surface_finish(), has been called.

Returns:

The image data as string

Examples:
CairoImageSurface::getData() example
<?php
/* ... */
?>

The above example will output something similar to:

...
See also:

CairoImageSurface::getStride() -

doc_php
2016-02-24 15:59:15
Comments
Leave a Comment

Please login to continue.