18 references to Format4bppIndexed
System.Drawing.Common.Tests (18)
mono\System.Drawing.Imaging\BmpCodecTests.cs (1)
48Assert.Equal(PixelFormat.Format4bppIndexed, bmp.PixelFormat);
mono\System.Drawing.Imaging\PngCodecTests.cs (1)
357Assert.Equal(PixelFormat.Format4bppIndexed, bmp.PixelFormat);
mono\System.Drawing\BitmapTests.cs (3)
134using Bitmap bmp = new(1, 1, PixelFormat.Format4bppIndexed); 401PixelFormat.Format4bppIndexed => 2, 859using Bitmap bmp = new(1, 1, PixelFormat.Format4bppIndexed);
mono\System.Drawing\GraphicsTests.cs (1)
349Assert.Equal(PixelFormat.Format4bppIndexed, img.PixelFormat);
System\Drawing\BitmapTests.cs (8)
183[InlineData(10, 10, PixelFormat.Format4bppIndexed)] 533yield return new object[] { new Bitmap(1, 1, PixelFormat.Format4bppIndexed), 0, 0, Color.FromArgb(0, 0, 0) }; 928[InlineData(PixelFormat.Format4bppIndexed)] 1431{ PixelFormat.Format4bppIndexed, new int[] { -16777216, -8388608, -16744448, -8355840, -16777088, -8388480, -16744320, -8355712, -4144960, -65536, -16711936, -256, -16776961, -65281, -16711681, -1, } }, 1633{ PixelFormat.Format4bppIndexed, DitherType.Solid, PaletteType.FixedHalftone64 }, 1634{ PixelFormat.Format4bppIndexed, DitherType.None, PaletteType.FixedHalftone8 }, 1635{ PixelFormat.Format4bppIndexed, DitherType.ErrorDiffusion, PaletteType.FixedHalftone8 }, 1678PixelFormat.Format4bppIndexed
System\Drawing\GraphicsTests.cs (1)
263[InlineData(PixelFormat.Format4bppIndexed)]
System\Drawing\ImageTests.cs (2)
569[InlineData(PixelFormat.Format4bppIndexed, 4)] 600[InlineData(PixelFormat.Format4bppIndexed, false)]
System\Drawing\Imaging\BitmapDataTests.cs (1)
95[InlineData(PixelFormat.Format4bppIndexed)]