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

前提是你 提交于 2019-12-02 07:14:29

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!