[英]System.Drawing and System.Drawing.Imaging alternatives for Windows Phone
I'm trying to use some C# snippets which doesn't work in Windows Phone, because of those namespaces. 我正在尝试使用一些C#代码段,由于这些名称空间,它们在Windows Phone中不起作用。 Are there any alternatives to
System.Drawing
and System.Drawing.Imaging
for windows phone? Windows Phone是否可以替代
System.Drawing
和System.Drawing.Imaging
?
I need alternatives to PixelFormat
, Bitmap
, ColorPalette
, ImageLockMode
, LockBit
and so on. 我需要替代
PixelFormat
, Bitmap
, ColorPalette
, ImageLockMode
, LockBit
等。
an example: 一个例子:
BitmapData bmpDat = bmp.LockBits(
new Rectangle(
0,0, bmp.Width, bmp.Height),
ImageLockMode.ReadOnly, bmp.PixelFormat);
I never tried it, but I believe should be a good library. 我从未尝试过,但是我相信应该是一个很好的图书馆。
http://writeablebitmapex.codeplex.com/ http://writeablebitmapex.codeplex.com/
Good luck. 祝好运。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.