public static PipelineBuilder FromImage(Uri uri, DpiMode dpiMode = DpiMode.DisplayDpiWith96AsLowerBound, CacheMode cacheMode = CacheMode.Default)
 {
     return(new PipelineBuilder(() => new ValueTask <CompositionBrush>(SurfaceLoader.LoadImageAsync(uri, dpiMode, cacheMode))));
 }
 public static PipelineBuilder FromImage(Uri uri, DpiMode dpiMode = DpiMode.DisplayDpiWith96AsLowerBound, CacheMode cacheMode = CacheMode.Default)
 {
     return(new PipelineBuilder(async() => await SurfaceLoader.LoadImageAsync(uri, dpiMode, cacheMode)));
 }