剪贴板图像 [英] Clipboard Images

查看:84
本文介绍了剪贴板图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正试图从剪贴板中获取图像.. senario是用户按下键盘上的printScreen按钮并捕获图像然后转到我的网页并单击按钮并从剪贴板复制图像并将其保存到服务器....


我尝试使用javascript,它适用于文本但不适用于图像:(


有没有人知道如何完成它????

Hi everyone,
I am trying to get an imagefrom the clipboard.. The senario is the user presses printScreen button on the keyboard and captures an image then go to my web page and click a button and copies the image from the clipboard and saves it to the server....

I tried using javascript and it worked for Text but not for Images :(

does anyone knows a way to get it done????

推荐答案


大家好,

我试图从剪贴板中获取图像.. Senario是用户按下键盘上的printScreen按钮并捕获图像然后转到我的网页并单击按钮并复制图像剪贴板并将其保存到服务器....


我尝试使用javascript,它适用于文本但不适用于图像:(


有没有人知道如何完成它????
Hi everyone,
I am trying to get an imagefrom the clipboard.. The senario is the user presses printScreen button on the keyboard and captures an image then go to my web page and click a button and copies the image from the clipboard and saves it to the server....

I tried using javascript and it worked for Text but not for Images :(

does anyone knows a way to get it done????



你想要这样做在Javascript或ASPX中?


You want this done in Javascript or ASPX?


任何方式对我都有好处!!!!
any way is good for me !!!!



any方式对我有好处!!!!
any way is good for me !!!!



在C#中你可以这样做:


In C# you can do this:

展开 | 选择 | Wrap | 行号


这篇关于剪贴板图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆