2005.03.17 10:47 "[Tiff] Photoshop Masked area TIFF images", by
I'm dealing with tiff photoshop images with extra channels. Usingg tifflib I'v got the dat relative to extra channels kept in Photoshop Tag.
Now I'd like to know how is obtained the resulting color of the final pixel deriving from a background pixel with a Mask areas Photoshop extra channel.
For example, if I have an RGB pixel A (255 255 255 0) and a mask of color (255 0 0 )with opacity 0.75 I get as a resulting pixel after compositing: P(255 137 137).
Given a pixel A(r,g,b,0) and a mask color C(r1,g1,b1) with opacity x, what is the resulting pixel after compositing? The compositing formula pixelOut[j] =((1/MAXVALUE)*((MAXVALUE-alphaValue)*q[j]+(1/MAXVALUE)*alphaValue*(MAXVALUE-betaValue)*p[j]))+0.5; does not work!!!
Does anyone can help me???
6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero!
Scaricalo su INTERNET GRATIS 6X http://www.libero.it