Method Cairo.Surface()->get_mime_data()


Method get_mime_data

string(8bit)|zero get_mime_data(string(7bit) mime_type)

Description

Return mime data previously attached to surface using the specified mime type. If no data has been attached with the given mime type, UNDEFINED is returned.

Parameter mime_type

the mime type of the image data

Returns

the image data attached to the surface