conversion from RGBA to grayscale


I have a RGB pixbuf with 8 bits per color sample with alpha channel. I
load an image and now want to convert this RGBA image to grayscale. Is
there a gdk function to do that or some other instructions to do that?
Please help.


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