28 references to Bmp
System.Drawing.Common.Tests (17)
mono\System.Drawing.Imaging\BmpCodecTests.cs (1)
440bmp.Save(sOutFile, ImageFormat.Bmp);
mono\System.Drawing\BitmapTests.cs (2)
1270Assert.Equal(bitmap.RawFormat, ImageFormat.Bmp); 1296Assert.Equal(bitmap.RawFormat, ImageFormat.Bmp);
System\Drawing\BitmapTests.cs (2)
37yield return new object[] { "bitmap_173x183_indexed_8bit.bmp", 173, 183, PixelFormat.Format8bppIndexed, ImageFormat.Bmp }; 91Assert.Equal(ImageFormat.Bmp, bitmap.RawFormat);
System\Drawing\ImageFormatConverterTests.cs (8)
19_imageFmt = ImageFormat.Bmp; 65Assert.Equal(_imageFmt, (ImageFormat)_imgFmtConv.ConvertFrom(null, CultureInfo.InvariantCulture, ImageFormat.Bmp.ToString())); 66Assert.Equal(_imageFmt, (ImageFormat)_imgFmtConvFrmTD.ConvertFrom(null, CultureInfo.InvariantCulture, ImageFormat.Bmp.ToString())); 72Assert.Throws<NotSupportedException>(() => _imgFmtConv.ConvertFrom(null, CultureInfo.InvariantCulture, ImageFormat.Bmp)); 73Assert.Throws<NotSupportedException>(() => _imgFmtConv.ConvertFrom(null, CultureInfo.InvariantCulture, ImageFormat.Bmp.Guid)); 77Assert.Throws<NotSupportedException>(() => _imgFmtConvFrmTD.ConvertFrom(null, CultureInfo.InvariantCulture, ImageFormat.Bmp)); 78Assert.Throws<NotSupportedException>(() => _imgFmtConvFrmTD.ConvertFrom(null, CultureInfo.InvariantCulture, ImageFormat.Bmp.Guid)); 91Assert.Equal(ImageFormat.Bmp, ConvertFromName("Bmp"));
System\Drawing\Imaging\ImageCodecInfoTests.cs (1)
179BMP_DIB_RLE_CSID, ImageFormat.Bmp,
System\Drawing\Imaging\ImageFormatTests.cs (2)
26yield return new object[] { BmpImageFormat.Guid, ImageFormat.Bmp }; 50yield return new object[] { "Bmp", ImageFormat.Bmp };
System\Drawing\Printing\PrinterSettingsTests.cs (1)
395yield return new object[] { ImageFormat.Bmp };
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListView.cs (1)
5122BackgroundImage.Save(_backgroundImageFileName, Drawing.Imaging.ImageFormat.Bmp);
System.Windows.Forms.Design.Tests (9)
System\Drawing\Design\BitmapEditorTests.cs (2)
75image.Save(stream, ImageFormat.Bmp); 81result.Save(resultStream, ImageFormat.Bmp);
System\Drawing\Design\ImageEditorTests.cs (2)
131image.Save(stream, ImageFormat.Bmp); 137result.Save(resultStream, ImageFormat.Bmp);
System\Drawing\Design\MetafileEditorTests.cs (1)
58image.Save(stream, ImageFormat.Bmp);
System\Windows\Forms\Design\ImageListImageEditorTests.cs (2)
19image.Save(stream, ImageFormat.Bmp); 28result.Image.Save(resultStream, ImageFormat.Bmp);
System\Windows\Forms\Design\ImageListImageTests.cs (2)
63bitmap.Save(memoryStream, Drawing.Imaging.ImageFormat.Bmp); 71result.Image.RawFormat.Should().Be(expected: Drawing.Imaging.ImageFormat.Bmp);
WindowsFormsIntegration (1)
System\Windows\Integration\Convert.cs (1)
154IntermediateFormat = SDI.ImageFormat.Bmp;