问题就在这里。我想从本地驱动器打开一个文件,然后将其放入 WritableBitmap 中,以便我可以编辑它。但问题是,我无法从 Uri 或类似的东西创建 WritableBitmap。我也知道如何将文件打开到 BitmapImage 中,但我不知道如何将文件打开为 WritableBitmap。有没有办法直接将文件打开为 WritableBitmap,如果没有,是否有办法将 BitmapImage 转换为 WritableBitmap?多谢你们。
c# silverlight writeablebitmap
c# ×1
silverlight ×1
writeablebitmap ×1