Re: [gdal-dev] gdalwarp and internal transparency masks

2018-07-21 Thread Even Rouault
On samedi 21 juillet 2018 19:40:54 CEST Denis Rykov wrote: > Hi, > > I have a GeoTIFF raster with internal mask. Is it possible to retain this > mask while warping? Not as a mask with gdalwarp, but you can turn it as a an alpha band with -dstalpha -- Spatialys - Geospatial professional services

[gdal-dev] gdalwarp and internal transparency masks

2018-07-21 Thread Denis Rykov
Hi, I have a GeoTIFF raster with internal mask. Is it possible to retain this mask while warping? Mask is not retained now: $ gdalinfo -json original.tif | jq .bands [ { "band": 1, "block": [ 3, 2 ], "type": "Byte", "colorInterpretation": "Gray", "mask": {