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
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
Threaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |