Can I embed an image in Silverlight / Flash / JavaScript?

Is it possible to allow users to embed image data on the Website? That is, they have an image on the clipboard and can paste it into the HTML site? (Then I would somehow capture the bytes and save them - persistence is not a problem here)

It should be Cross-Browser IE8, FF3.5 and Chrome 4, but I can use browser plugins like Silverlight, Flash or plain JavaScript (I could even use browser plugins, although it would be painful to control and IE would have to use ActiveX ...). Also, since this is an internal site, I can add the site to the local intranet zone in IE (not sure if this will change the material for Firefox and Chrome).

Is there any chance to do this?

+3
source share
2 answers

With Silverlight 4, you have access to the text buffer, but not image data, as far as I remember ...

+2
source

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

+1
source

Source: https://habr.com/ru/post/1734952/


All Articles