ImageList imageList1 = new ImageList();
imageList1.ColorDepth = ColorDepth.Depth8Bit;
Bitmap bitmap1 = new Bitmap(16, 16, PixelFormat.Format8bppIndexed);
imageList1.Images.Add(bitmap1);
PixelFormat pixelFormat1 = bitmap1.PixelFormat; //Format8bppIndexed
PixelFormat pixelFormat2 = imageList1.Images[0].PixelFormat; //Format32bppArgb
Why is a 32bpp copy of the bitmap being made when I add to the ImageList? How can I make the ImageList use 8bpp images? This would greatly reduce the memory usage of my application, as it requires thousands of images in the ImageList of a ListView.
Thank you!