[Gdal-dev] transparent Geotiff?
Eric Sokolowsky
eric.sokolowsky at gsfc.nasa.gov
Fri May 27 10:12:19 EDT 2005
On Fri, 27 May 2005, Bart van den Eijnden wrote:
> Hi list,
>
> I have a lot of geotiff files which have a white background. Because many of the tiffs overlap, I need a way to create transparent tiffs (set white as the transparency color). Does anybody know how to do this?
You can try using the gdalwarp tool to convert from your source image to
a new image with transparency with the -dstalpha switch. You probably also
need -srcnodata 255 and -dstnodata 0. The the help for gdalwarp for more info.
--
____ __ Eric Sokolowsky (GST) NASA Goddard Space Flight Center
/ __/__/_/__ Visualization Programmer Scientific Visualization Studio
/ __/ _/ / _/ 301.286.3751 Mailstop 610.3 Bldg 28 Rm E102
/___/_//_/__/ eric.sokolowsky at gsfc.nasa.gov Greenbelt, MD 20771
More information about the Gdal-dev
mailing list