set_image

pasteboard.set_image(image: str | list[str])

Copies the given image to the pasteboard.

Parameters:

image – A PIL image or a list of PIL images.