(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:
Please login to continue.