2008.04.17 09:58 "[Tiff] a question about creating transparency of the image in TIFF", by Константин_Луцкий

2008.04.17 15:18 "Re: [Tiff] a question about creating transparency of the image in TIFF", by Gerben Vos

Константин Луцкий wrote:

Hi. Can anyone help me? How can I create transparency of the image in TIFF?

Frank Warmerdam wrote:

The conventional approach is to create an alpha sample for each pixel, and set it to indicate transparent pixels.

For example, for RGB images (PhotometricInterpretation = 2) you can set SamplesPerPixel to 4, and then indicate in the ExtraSamples tag that the extra (fourth) sample is an alpha channel. Read the TIFF specification for more info.

Gerben Vos.