creating grayscale pixmaps



I have an array of single values which represent the relative grayscale
pixel values. I want to create a pixmap from these values, but I dont know
how to create a GdkColor using just a single number instead of an RGB
value... can someone please give me a hint? Thanks,

Rok




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]