public static WriteableBitmap FromContent(this WriteableBitmap bmp, string relativePath) { return(BitmapFactory.FromContent(relativePath)); }
public static Task <WriteableBitmap> FromContent(this WriteableBitmap bmp, Uri uri, BitmapPixelFormat pixelFormat = BitmapPixelFormat.Unknown) { return(BitmapFactory.FromContent(uri, pixelFormat)); }