Is it possible to paste an Image into Silverlight/Flash/JavaScript?

Is it possible to allow users to paste image data into a Website? That is, they have an image in the clipboard and can paste it into an HTML Site? (I would then somehow grab the bytes and store them - persistence isn't the problem here)

It needs to be Cross-Browser IE8, FF3.5 and Chrome 4, but I can use browser plugins like Silverlight, Flash or bare JavaScript if possible (I might even use Browser Plugins, although that would be painful to manage and IE would need ActiveX is guess...). Also since it's an internal site, I can add the site to the Local Intranet Zone in IE (not sure if that changes stuff for Firefox and Chrome).

Any chance to do this?

Answers


With Silverlight 4, you have text-only clipboard access, but not Image data, as far as I can remember...


Check out the lengthy discussion here. I think the end result was that this is possible using a combination of Canvas and Flash.


Need Your Help

Twitter API or Library to remember the session

php twitter twitter-oauth

I've been going through the Twitter API, but they are not as friendly as Facebook. My requirement is remember the authentication in the server / db and post user messages to the timeline without in...

AbstractRoutingDataSource + JPA won't create table except defaultTargetDataSource

java spring hibernate orm

I use JPA annotations (Hibernate implementation) to initialize my DB schema. And i follow the article DYNAMIC DATASOURCE ROUTING to implement the dynamic datasource routing class.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.