Skip to contents

This function works only on windows.

Usage

save_clipboard_image(path = "")

Arguments

path

Optional path to save the image to. If not specified, a temporary file will be created.

Value

The path to the saved image file.

Examples

if (FALSE) {
# Save the image from the clipboard to a file
save_clipboard_image("clipboard_image.png")
}