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)
1608
{ PixelFormat.Format16bppArgb1555, DitherType.
None
, PaletteType.FixedHalftone8 },
1615
{ PixelFormat.Format16bppArgb1555, DitherType.
None
, PaletteType.FixedHalftone256 },
1617
{ PixelFormat.Format16bppRgb565, DitherType.
None
, PaletteType.FixedHalftone256 },
1618
{ PixelFormat.Format24bppRgb, DitherType.
None
, PaletteType.FixedHalftone256 },
1619
{ PixelFormat.Format32bppArgb, DitherType.
None
, PaletteType.FixedHalftone256 },
1620
{ PixelFormat.Format32bppPArgb, DitherType.
None
, PaletteType.FixedHalftone256 },
1621
{ PixelFormat.Format32bppRgb, DitherType.
None
, PaletteType.FixedHalftone256 },
1622
{ PixelFormat.Format16bppRgb565, DitherType.
None
, (PaletteType)(-1) },
1629
{ PixelFormat.Format1bppIndexed, DitherType.
None
, (PaletteType)(-1) },
1631
{ PixelFormat.Format1bppIndexed, DitherType.
None
, PaletteType.FixedHalftone256 },
1634
{ PixelFormat.Format4bppIndexed, DitherType.
None
, PaletteType.FixedHalftone8 },
1636
{ PixelFormat.Format8bppIndexed, DitherType.
None
, PaletteType.FixedHalftone256 },
1639
{ PixelFormat.Format16bppGrayScale, DitherType.
None
, PaletteType.FixedHalftone256 },
1641
{ PixelFormat.Format16bppGrayScale, DitherType.
None
, PaletteType.FixedBlackAndWhite },