José Chamorro
José Chamorro

Reputation: 547

How can I send an image to the clipboard in python?

I'm trying to use some images I take using pillow and that I organize in a list.

I would like to send those images to the clipboard, so I can use 'ctrl v' to manage those images in several word documents.

Right now, what I do is sending those images to an open word file using win32, so there's no useful code to show... but the images are in lists like:

[<PIL.Image.Image image mode=RGB size=281x164 at 0x2A46AAAB7F0>]

I would appreciate any guidance.

Upvotes: 0

Views: 2208

Answers (1)

Mike T
Mike T

Reputation: 39

Explore modules/libraries such as: tkinter, pyperclip, clipboard, xerox.

These questions may be of use to dig through:

Upvotes: 3

Related Questions