a string containing the format of the image to get ("png", "jpg", ...)
Description:
This function tries to get an image from the client's clipboard.
Return value:
If no image is found in the clipboard, returns null. If the clipboard contains an image, then a buffer containing the content of a file of the type specified by the 'type' parameter is returned.