[gdal-dev] Giventiff with colortable, how do i assign one of the colors to be an alpha channel

Isaac Gerg isaac.gerg at gergltd.com
Wed Jan 16 12:40:20 PST 2013


Even,

I am confused.  You said in your first response to me that TIFF does not
support indexed colormaps of RGBA. Am I understanding you correctly -- it
sounds like it is not possible to create an indexed color TIFF that has
background transparency.  Is this correct?

Isaac


On Wed, Jan 16, 2013 at 3:23 PM, Even Rouault
<even.rouault at mines-paris.org>wrote:

> Le mercredi 16 janvier 2013 21:21:29, Isaac Gerg a écrit :
> > I mispoke.
> >
> > rgb2pct.py will work but only on RGB images -- no colortables.  When I
> use
> > it on a RGBA image, the transparency is no longer preservered.
>
> Combine it with the first hints I gave
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130116/5a778002/attachment.html>


More information about the gdal-dev mailing list