20 references to Png
PresentationFramework-SystemDrawing (1)
SystemDrawingExtension.cs (1)
130
metafile.Save(imageStream, ImageFormat.
Png
);
System.Drawing.Common.Tests (16)
mono\System.Drawing.Imaging\IconCodecTests.cs (1)
1884
Assert.Equal(ImageFormat.
Png
, bmpLoad.RawFormat);
mono\System.Drawing.Imaging\PngCodecTests.cs (1)
580
bmp.Save(sOutFile, ImageFormat.
Png
);
mono\System.Drawing\BitmapTests.cs (1)
788
Assert.Equal(ImageFormat.
Png
, other.RawFormat);
System\Drawing\BitmapTests.cs (6)
38
yield return new object[] { "16x16_nonindexed_24bit.png", 16, 16, PixelFormat.Format24bppRgb, ImageFormat.
Png
};
742
bitmapFromWmf.Save(output, ImageFormat.
Png
);
1569
bitmap.Save(path, ImageFormat.
Png
);
1577
Assert.Equal(ImageFormat.
Png
, bitmap.RawFormat);
1591
bitmap.Save(restrictiveStream, ImageFormat.
Png
);
1600
Assert.Equal(ImageFormat.
Png
, bitmap.RawFormat);
System\Drawing\IconTests.cs (2)
568
Assert.Equal(ImageFormat.
Png
, bitmap.RawFormat);
619
bitmap.Save(stream, ImageFormat.
Png
);
System\Drawing\ImageFormatConverterTests.cs (1)
96
Assert.Equal(ImageFormat.
Png
, ConvertFromName("Png"));
System\Drawing\Imaging\ImageCodecInfoTests.cs (1)
155
PNG_CSID, ImageFormat.
Png
,
System\Drawing\Imaging\ImageFormatTests.cs (2)
31
yield return new object[] { PngImageFormat.Guid, ImageFormat.
Png
};
55
yield return new object[] { "Png", ImageFormat.
Png
};
System\Drawing\Printing\PrinterSettingsTests.cs (1)
375
yield return new object[] { ImageFormat.
Png
};
System.Windows.Forms.Tests (1)
System\Windows\Forms\RichTextBoxTests.ClipboardTests.cs (1)
22
bitmap.Save(memoryStream, Drawing.Imaging.ImageFormat.
Png
);
System.Windows.Forms.UI.IntegrationTests (2)
Infra\ScreenRecordService.cs (1)
411
frame.Save(stream, ImageFormat.
Png
);
Infra\ScreenshotService.cs (1)
36
bitmap.Save(fullPath, ImageFormat.
Png
);