Click here to Skip to main content
16,007,885 members

Comments by Chuck Bruce (Top 3 by date)

Chuck Bruce 25-Oct-13 12:05pm View    
1) There was no mistake, Indexed bitmaps CAN be used for TextureBrushes, the problem was in trying to change the palette in the indexed bitmap.
2) I DID SAY that it was a 16 color bitmap, which must be a 4bpp indexed bitmap.
3) What abuse? Is it abuse to post a solution that I myself found? That way anyone else that has this problem will be able to see a solution.
Chuck Bruce 25-Oct-13 10:58am View    
I appreciate your comments, but I have found a solution (posted below).
Chuck Bruce 25-Oct-13 9:36am View    
I understand the concept of TextureBrush. In fact, if I change the bitmap to have colors in it using a bitmap editor, those colors show up in my FillRectangle. The question is really, "Why don't the colors show up properly if I change the bitmap's palette programmatically? The colors are being changed, because I can display the bitmap itself, and it has the new colors. But the TextureBrush doesn't seem to recognize the change.