AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.03.17 10:47 "[Tiff] Photoshop Masked area TIFF images", by
2005.03.17 20:13 "Re: [Tiff] Photoshop Masked area TIFF images", by Chris Cox
2005.03.17 21:58 "Re: [Tiff] Photoshop Masked area TIFF images", by Pascal Peuch
2005.03.17 22:49 "Re: [Tiff] Photoshop Masked area TIFF images", by Bob Friesenhahn
2005.03.17 23:34 "[Tiff] Re: Tiff file with Transparency mask (former 'Photoshop Masked area TIFF images')", by Pascal Peuch
2005.03.17 23:44 "Re: [Tiff] Re: Tiff file with Transparency mask (former 'Photoshop Masked area TIFF images')", by Bob Friesenhahn
2005.03.18 22:17 "Re: [Tiff] Re: Tiff file with Transparency mask (former 'Photoshop Masked area TIFF images')", by Pascal Peuch
2005.03.17 23:53 "Re: [Tiff] Photoshop Masked area TIFF images", by Chris Cox
2005.03.18 22:23 "Re: [Tiff] Photoshop Masked area TIFF images", by Pascal Peuch

2005.03.17 10:47 "[Tiff] Photoshop Masked area TIFF images", by

Hi,

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).

How?

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???

Thanks

Jade

____________________________________________________________

6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero!

Scaricalo su INTERNET GRATIS 6X http://www.libero.it