title: Converting UIImage to Byte Array
body: <p>I need to convert a UIImage to a byte array.  I am using Xamarin's Visual Studio plugin to produce an iOS application.  </p>
  
  <p>The bit of code below gets the image, but I need to send it across a Service Stack as a byte array instead of a UIImage.</p>
  
  <pre><code>        var signatureView = new SignaturePad.SignaturePadView(new RectangleF(10, 660, 300, 150));
          signatureView.BackgroundColor = UIColor.White;
          this.View.AddSubview(signatureView);
          UIImage signatureImage = signatureView.GetImage();
  </code></pre>