Is there a ready class for converting an integer array into a bitmap and back? Specifically interested in byte -> bit. Did so
_IS = new byte[corSize]; for (int y = 0, k = 0; y < _Image.Height; y++) for (int x = 0; x < _Image.Width; x++) for (int i = 0, _Mask=128; i < 8; i++,k++,_Mask>>=1) _IS[k] = (byte)((_Image.GetPixel(x, y).R & _Mask) >> (7 - i)); But it is very slow.
_ISis a byte array. - PinkTux