AboutSupportDeveloper GuideVersion 40.130.100.7
interface WriteImageClipboardRequest {
    image: string;
    type?: ClipboardSelectionType;
}

Properties

Properties

image: string

Can be either a base64 string, or a DataURL string. If using DataURL, the supported formats are data:image/png[;base64], and data:image/jpeg[;base64],. Using other image/ DataURLs will throw an Error.

The type of clipboard to write to, can be 'clipboard' or 'selection'. Defaults to 'clipboard'. Use 'selection' for linux only.