Closed tossnet closed 1 year ago
I've seen many examples where the path to an image was used directly for AddImage : .AddImage("/images/logo.jpg") Can someone show me how to use ImageSource?
.AddImage("/images/logo.jpg")
I was missing those lines before :
ImageSource.ImageSourceImpl ??= new ImageSharpImageSource<Rgba32>(); var image = ImageSource.FromFile(_imagefile);
I've seen many examples where the path to an image was used directly for AddImage :
.AddImage("/images/logo.jpg")
Can someone show me how to use ImageSource?