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