magick
magick copied to clipboard
Could add function support read image from clipboard
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())