16 references to None
System.Drawing.Common (2)
System\Drawing\Bitmap.cs (2)
397
/// The dithering algorithm. Pass <see cref="DitherType.
None
"/> when the conversion does not reduce the bit depth
498
ConvertFormat(format, targetSize > sourceSize ? DitherType.
None
: DitherType.Solid);
System.Drawing.Common.Tests (14)
System\Drawing\BitmapTests.cs (14)
1607
{ PixelFormat.Format16bppArgb1555, DitherType.
None
, PaletteType.FixedHalftone8 },
1614
{ PixelFormat.Format16bppArgb1555, DitherType.
None
, PaletteType.FixedHalftone256 },
1616
{ PixelFormat.Format16bppRgb565, DitherType.
None
, PaletteType.FixedHalftone256 },
1617
{ PixelFormat.Format24bppRgb, DitherType.
None
, PaletteType.FixedHalftone256 },
1618
{ PixelFormat.Format32bppArgb, DitherType.
None
, PaletteType.FixedHalftone256 },
1619
{ PixelFormat.Format32bppPArgb, DitherType.
None
, PaletteType.FixedHalftone256 },
1620
{ PixelFormat.Format32bppRgb, DitherType.
None
, PaletteType.FixedHalftone256 },
1621
{ PixelFormat.Format16bppRgb565, DitherType.
None
, (PaletteType)(-1) },
1628
{ PixelFormat.Format1bppIndexed, DitherType.
None
, (PaletteType)(-1) },
1630
{ PixelFormat.Format1bppIndexed, DitherType.
None
, PaletteType.FixedHalftone256 },
1633
{ PixelFormat.Format4bppIndexed, DitherType.
None
, PaletteType.FixedHalftone8 },
1635
{ PixelFormat.Format8bppIndexed, DitherType.
None
, PaletteType.FixedHalftone256 },
1638
{ PixelFormat.Format16bppGrayScale, DitherType.
None
, PaletteType.FixedHalftone256 },
1640
{ PixelFormat.Format16bppGrayScale, DitherType.
None
, PaletteType.FixedBlackAndWhite },