Hello All,
I am using this code to set the palette for an image but exception is throwing as index is out of bounds can any one help me?
ColorPalette palette = bmp.Palette;
palette.Entries[0] = Color.Black;
bmp.Palette = palette;
Thanks in advance
Printable View
Hello All,
I am using this code to set the palette for an image but exception is throwing as index is out of bounds can any one help me?
ColorPalette palette = bmp.Palette;
palette.Entries[0] = Color.Black;
bmp.Palette = palette;
Thanks in advance
This may help :
http://stackoverflow.com/questions/5...ette-in-bitmap