[IPython-dev] Paste images into the notebook
Raymond Yee
raymond.yee at gmail.com
Fri Feb 7 16:48:51 EST 2014
Juergen,
Can you publish your code? I'm definitely interested in this feature
even if it's hacky.
Thanks,
-Raymond
On 2/7/14 1:47 PM, Juergen Hasch wrote:
> Am 07.02.2014 22:29, schrieb Matthias BUSSONNIER:
>> Hi there,
>>
>>
>> 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?
>>>
>> Short answer is you can't.
> Actually, it works :-)
>
> It only takes around 15 lines of Javascript code to implement this as clipboard paste event for Chrome.
> All you have to do is receive the image from clipboard, create a markdown cell, and paste the image as base64.
>
> 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.
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
More information about the IPython-dev
mailing list