Hello,
I use picture function called "Draw 8-bit Pixmap" and the input picture is in 256 gray levels format (1 byte = 1 pixel). I want to change a default color palette since the picture is displayed with strange colors. I wanted to do a gray colors palette and did 256 elements array within a loop where every element had a value of i+i*256+i*256*256 (RGB). I thought it would be a good palette but it displayed me dark square instead of picture. Where can I find information about how to create own palettes?