 MessageBox.Show("LabToBitmap: Not suitable pixel format=" + bmp.PixelFormat);  return;  }  Rectangle rect = new Rectangle(0, 0, bmp.Width, bmp.Height);  BitmapData bmpData = bmp.LockBits(rect, ImageLockMode.ReadWrite, 