-
July 29th, 2011, 12:55 AM
#1
How can i set color palette for an image?
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
-
July 29th, 2011, 02:35 AM
#2
Re: How can i set color palette for an image?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|