Sat Feb 8 08:10:58 PST 2014
An exchange on the IPython-Dev mailing list addressed a feature request for the IPython Notebook that I have been longing for, for a while now:
Le 7 févr. 2014 à 21:04, Edeler, Torsten a écrit :
Hi everybody. I’m playing around with the notebook. It is fantastic! Thank you for this amazing piece of software!
I’m just missing the ability to paste images directly from the clipboard (e.g. screenshots) into the notebook. My OS is Win7. How do I make that work?
After some initial ideas about workarounds to accomplish this functionality,
Not efficient and slow as hell for larger images, so I won't say this is a viable solution. Still, technically it can be done.
Hasch then provided those lines of code, and they work for me!
Copy an image, e.g. with Windows Snipping Tool, paste, and see what happens:
Amazing! And slow, as promised. But amazing!
Thanks to everyone involved in asking and answering this questions.