What I want to achieve is to real time transform the image displayed by my linux system i.e. I would like to be able to achieve true gray scale so for every pixel of the screen we would have each rgb value set to be equal to average of what would be normally displayed.

I guess it would be possible to take the buffer, modify it in C and save it back, but that approach would waste lots of systems resources. Is there other way?

0 Answers