1

Is it possible to easily modify individual pixels displayed on a screen according to a function? For example, suppose a pixel on the screen had values in (Red,Green,Blue) = (25,50,100) and I want to replace that pixel by the ones (f1(50),f2(100),f3(150)) = (50,100,200).

Hopefully this function should be the last one in the "pipeline" of screen modifiers, so every pixel gets changed correctly.

The objective was to write a small program to alleviate colorblind issues with some knowledge of color theory I just learned. My knowledge of how I would go about actually programming it is very low however.

Real
  • 192
  • 1
  • 8
  • There may be something useful mentioned at [Linux color management](http://en.wikipedia.org/wiki/Linux_color_management). Also, you might like to see what you can achieve by playing with your system settings for display gamma, or by using the command-line program, [xgamma](http://linux.die.net/man/1/xgamma). – PM 2Ring Oct 29 '14 at 11:11

0 Answers0