Surface.getMimeData

void getMimeData(string mimeType, out ubyte[] data)

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

Parameters

mimeTypethe mime type of the image data
datathe image data to attached to the surface