public Core.Graphics.Surface Capture() { var surface = new Core.Graphics.Surface(_width, _height, Core.Graphics.PixelFormat.Indexed8, false); Array.Copy(_pixels, surface.Pixels, _pixels.Length); return(surface); }
public Core.Graphics.Surface Capture() { var surface = new Core.Graphics.Surface(_width, _height, Core.Graphics.PixelFormat.Indexed8, false); Array.Copy(_pixels, surface.Pixels, _pixels.Length); return surface; }