[gdal-dev] removing of transparency possible?
Frank Warmerdam
warmerdam at pobox.com
Tue Mar 31 21:13:19 EDT 2009
WolfgangZ wrote:
> Hi,
>
> how do I remove a transparency layer? I used one during the merging
> process, but conversion to jpg (e.g.) complains about.
>
> Many thanks
> Wolg
Wolg,
Are you referring to an alpha band? If so, you could select a subset of
bands with gdal_translate using the -b flag.
eg.
gdal_translate -b 1 -b 2 -b 3 rgba.tif rgb.jpg
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the gdal-dev
mailing list