Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrImagePasteUnsupported = errors.New("xclip/wl-clipboard is not available on this system")
ErrImagePasteUnsupported means that xclip(X11) or wl-clipboard(Wayland) can't be found or isn't installed.
View Source
var ( // ErrNoImageInClipboard means that no data was returned. ErrNoImageInClipboard = errors.New("the clipboard doesn't contain an image") )
Functions ¶
func GetImageFromClipboard ¶
GetImageFromClipboard returns either a byte array containing PNG data or an error that indicates that no png could be retrieved.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.