I need to pass an image (Image _thresholdedImage) like byte array... I don\'t know how I can do this. Any idea? Thank you!
Image _thresholdedImage
_thresholdedImage.Sou
byte[] bitmapData; using (var stm = new MemoryStream()) { snapshot.Compress(Bitmap.CompressFormat.Png, 0, stm); bitmapData = stm.ToArray(); }