|
|
|
Prend la valeur du pixel courrant au format RGBA (Rouge, Vert
, Bleu, Alpha) et le met dans p. |
p=origValXY(x,y); |
Take the value of the curent pixel (x,y) in the RGBA format (Red, Green,
Blue, Alpha) and put it in p. |
Transcript p au format HSVA (Teinte, Saturation, Valeur, Alpha) et
le met dans pp. |
pp=toHSVA(p); |
Translate p in HSVA format (Hue, Sturation, Value, Alpha) and put it
in pp. |
Change le premier élément de pp (la teinte). |
pp[0]=t; |
Change the first element of pp (the hue). |
Transcript pp au format RGBA, l'absence du point-virgule final implique
que se sera la dernière ligne et que la valeur retournée
sera celle imputé au pixel. |
toRGBA(pp) |
Translate pp in RGBA format, the lake of final semi-colon inplies that
the last line and that the value returned will be given at the current
pixel. |