magick icon indicating copy to clipboard operation
magick copied to clipboard

Could add function support read image from clipboard

Open leechaowen opened this issue 1 year ago • 0 comments

I call python in R for screenshot ,then read image from clipboard . but the image_read not support read from clipboard.

library(magick)

library(reticulate)

use_python("C:\\Program Files\\Python310\\python.exe")

py_run_string("import pyautogui")

py_run_string("pyautogui.hotkey('fn','printscreen')")

image_read(readClipboard())

leechaowen avatar Feb 22 '23 06:02 leechaowen