21 references to Png
Microsoft.Maui.Graphics (11)
IImage.cs (2)
21 void Save(Stream stream, ImageFormat format = ImageFormat.Png, float quality = 1); 22 Task SaveAsync(Stream stream, ImageFormat format = ImageFormat.Png, float quality = 1);
IImageLoadingService.cs (1)
7 IImage FromStream(Stream stream, ImageFormat format = ImageFormat.Png);
ImageExtensions.cs (4)
9 public static byte[] AsBytes(this IImage target, ImageFormat format = ImageFormat.Png, float quality = 1) 21 public static Stream AsStream(this IImage target, ImageFormat format = ImageFormat.Png, float quality = 1) 33 public static async Task<byte[]> AsBytesAsync(this IImage target, ImageFormat format = ImageFormat.Png, float quality = 1) 45 public static string AsBase64(this IImage target, ImageFormat format = ImageFormat.Png, float quality = 1)
PlatformImage.cs (4)
15 public PlatformImage(byte[] bytes, ImageFormat originalFormat = ImageFormat.Png) 56 public void Save(Stream stream, ImageFormat format = ImageFormat.Png, float quality = 1) 72 public Task SaveAsync(Stream stream, ImageFormat format = ImageFormat.Png, float quality = 1) 177 public static IImage FromStream(Stream stream, ImageFormat format = ImageFormat.Png)
Microsoft.Maui.Graphics.Skia (5)
SkiaImage.cs (4)
101 public void Save(Stream stream, ImageFormat format = ImageFormat.Png, float quality = 1) 111 public async Task SaveAsync(Stream stream, ImageFormat format = ImageFormat.Png, float quality = 1) 130 ImageFormat.Png => SKEncodedImageFormat.Png, 157 public static IImage FromStream(Stream stream, ImageFormat formatHint = ImageFormat.Png)
SkiaImageLoadingService.cs (1)
7 public IImage FromStream(Stream stream, ImageFormat formatHint = ImageFormat.Png)
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (5)
src\Graphics\src\Graphics\Platforms\Windows\PlatformImage.cs (4)
102 /// <para>Only <see cref="ImageFormat.Png"/> and <see cref="ImageFormat.Jpeg"/> are supported on this platform.</para> 105 public void Save(Stream stream, ImageFormat format = ImageFormat.Png, float quality = 1) 122 public async Task SaveAsync(Stream stream, ImageFormat format = ImageFormat.Png, float quality = 1) 157 public static IImage FromStream(Stream stream, ImageFormat format = ImageFormat.Png)
src\Graphics\src\Graphics\Platforms\Windows\PlatformImageLoadingService.cs (1)
22 public IImage FromStream(Stream stream, ImageFormat formatHint = ImageFormat.Png)