Exemplo n.º 1
0
 public static Image RemoteRepresentation(this UIImage image, nfloat scale)
 => image == null ? null : new Image(
     ImageFormat.Png,
     image.AsPNGBytes(),
     (int)image.CGImage.Width,
     (int)image.CGImage.Height,
     scale);