I'm trying to use some C# snippets which doesn't work in Windows Phone, because of those namespaces. Are there any alternatives to System.Drawing
and System.Drawing.Imaging
for windows phone?
I need alternatives to PixelFormat
, Bitmap
, ColorPalette
, ImageLockMode
, LockBit
and so on.
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/
Good luck.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.