public Bitmap(int width, int height, Imaging.PixelFormat format) { switch (format) { case PixelFormat.Alpha: case PixelFormat.Canonical: case PixelFormat.DontCare: case PixelFormat.Extended: case PixelFormat.Format16bppArgb1555: case PixelFormat.Format16bppGrayScale: case PixelFormat.Format16bppRgb555: case PixelFormat.Format16bppRgb565: case PixelFormat.Format1bppIndexed: case PixelFormat.Format24bppRgb: case PixelFormat.Format32bppArgb: case PixelFormat.Format32bppPArgb: case PixelFormat.Format32bppRgb: case PixelFormat.Format48bppRgb: case PixelFormat.Format4bppIndexed: case PixelFormat.Format64bppArgb: case PixelFormat.Format64bppPArgb: case PixelFormat.Format8bppIndexed: case PixelFormat.Gdi: case PixelFormat.Indexed: case PixelFormat.Max: case PixelFormat.PAlpha: case PixelFormat.Undefined: ABitmap = Android.Graphics.Bitmap.CreateBitmap(width, height, Android.Graphics.Bitmap.Config.Argb8888); break; } //throw new NotImplementedException(); }
public Imaging.BitmapData LockBits(Rectangle rect, Imaging.ImageLockMode flags, Imaging.PixelFormat format) { throw new NotImplementedException(); }