[Gimp-developer] Delevoliping channel mixer with java



Hi all,

 

     We are developing an application using functionality of Gimp´s channel mixer with java.

 

     Our problem is that we don’t Know how channel mix works exactly for transforming pixel by pixel in Java.

 

     For example,

 

             We have an image an do on it the next mix:

 

                Output Channel = Red

Red=200.0

Green=0.0

Blue=0.0

 

                For simulate that, we transform all pixels with Red Component *2 and 255 (maximum) if is greater.

 

                Our problem is:

 

                Output Channel = Red

Red=200.0

Green=60.0

Blue=0.0

 

                ¿How can I simulate that?

 

     Thanks in advance.

 

Iván Bernal Cubero

iA Soft Aragón S.L.

 

Isabel la Católica 6, 1ª planta

tel.: +34 976 467 220 ext 50285
fax: +34 976 306 004
www.iasoft.es

Descripción: cid:image001.jpg@01CD22DC.B4F29A40

 



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