How to save an image in bitmap format along with rectangle which is drawn on that image

前端 未结 1 1797
说谎
说谎 2021-01-24 14:56

I am new to Silverlight 5. I am developing a Silverlight application to capture an image through a webcam and assign that image to an image control.

Now after assigning

相关标签:
1条回答
  • 2021-01-24 15:09

    To edit images, it is probably easiest to use the WriteableBitmap class. You can create a WriteableBitmap instance from any BitmapSource.

    To then edit the image, you can use the WriteableBitmap Extensions library, which among other things contain convenience methods for drawing rectangles in the image.

    Finally, if you need instructions on how to save the image, take a look for example here.

    0 讨论(0)
提交回复
热议问题