Do you want to do something like add more red to an image? pix_gain will multiply each channel (R G B or Y U V) by a coefficient and pix_offset will add to the channel. You can also try the colorRGB object to modulate the color value in hardware, but the coefficients are limited to 0..1.
On 3/7/06, Alexandre Quessy listes@sourcelibre.com wrote:
Hi,
Its been a little while since I am trying to _add_ a color to a pix. Is there a way to do so ? The thing is that if I put a colored rectangle over a pix_textured reactangle, it kind of desaturate the picture.
I know such a thing is much easy in Gridflow, but I got to use Gem on OSX for this time again. If it is the only, though, I might try to compile Gridflow with its new export_pix and import_pix on OSX...
aalex
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list