AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2008.04.17 09:58 "[Tiff] a question about creating transparency of the image in TIFF", by Константин_Луцкий
2008.04.17 14:03 "Re: [Tiff] a question about creating transparency of the image in TIFF", by Frank Warmerdam
2008.04.17 15:18 "Re: [Tiff] a question about creating transparency of the image in TIFF", by Gerben Vos
2008.04.17 21:14 "Re: [Tiff] a question about creating transparency of the image in TIFF", by Chris Cox
2008.04.17 21:48 "Re: [Tiff] a question about creating transparency of the image in TIFF", by Bob Friesenhahn
2008.04.18 12:53 "Re: [Tiff] a question about creating transparency of the image in TIFF", by Edward Lam
2008.04.18 15:41 "Re: [Tiff] a question about creating transparency of the image in TIFF", by Bob Friesenhahn
2008.04.18 15:56 "Re: [Tiff] a question about creating transparency of the image in TIFF", by Edward Lam

2008.04.17 14:03 "Re: [Tiff] a question about creating transparency of the image in TIFF", by Frank Warmerdam

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

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

Konstantin,

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

There is no mechanism in TIFF to identify a single pixel value as being transparent, and the pseudocolor table does not include alpha values, so it cannot be indicated there.

In this regard TIFF is less expressive than PNG for instance.

Best regards,
--
---------------------------------------+--------------------------------------

I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam

and watch the world go round - Rush    | President OSGeo, http://osgeo.org