Can Silverlight do the following?

Can I do the following on a silverlight page / app? (Note: the silverlight application will be deployed on the ASP.NET MVC website page): -

  • Display image from the resource: for example. www.someDomain.com/image.png
  • The URL of the displayed image is passed to the control (i.e. it is not hardcoded, but ... let's say it is entered into the text field through the user, on the page).
  • Resize the image.
  • Add layers to the image. The level may be .. I don’t know .. some main text or other image or icon
  • change the font or font of the font of the layer.
  • "Save" the modified image to another URL via HTTP-POST. Therefore, if I resized the image or added some text layers, all of them are displayed in one bitmap (png / jpg / whatever), which is then POST'ed to url as binary. (i.e. multipart / form-data)

Note:

I asked this question before , but it was for Flash (flv / swf). I am now wondering if this can be done in silverlight.

Updated Question

Also, what software is required to create these Silverlight applications? VS2008? A mixture of expression? I know you can use notepad .. but I'm so new to this, I need some kind of WYSIWYG application, I expect.

+3
source share
2

Writable Bitmap API Silverlight 3 , . Silverlight, TextBlock Image, , API "" .

, .

+3

, , crossdomain flash. crossdomain.xml clientaccesspolicy.xml , Silverlight . ms , silverlight .

, , , .net- .

,

Bitmap bitmap = new Bitmap(<some stream>);
Graphics g = Graphics.FromImage(bitmap);

.

g.DrawString("Silverlight image", 
    new Font("times", 32), 
    SystemBrushes.WindowText, 0, 0);
+3

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


All Articles