Exemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 public static NativeImage CreateFromImage(Image image, CreateOptions options = null)
 => new (image, options?.ScaleFactor ?? DefaultScaleFactor);
Exemplo n.º 2
0
 public static NativeImage CreateFromBitmap(object bitmap, CreateOptions options = null)
 {
     throw new NotImplementedException(
               "System.Drawing.Common is no longer supported. Use NativeImage.CreateFromImage(image, options);");
 }