Hi,

It is very cheap to use gdal_translate and VRT as intermediate format. As
far as I know it is not possible to drop alpha with gdalwarp even it is
possible to add alpha -dstalpha.

-Jukka Rahkonen-



Idan Miara wrote
> Hi All,
> 
> Is it possible to use gdal_warp for warping the RGB bands of an ARGB
> raster
> as gtiff with jpeg compression (i.e. to drop the Alpha channel and
> transform CRS). ?
> 
> gdal_transalte has translate_options["bandList"] = [1, 2, 3] for that, but
> I can't find the equivalent for warp.
> 
> I could do it in two steps - save as a lossless gtiff and then use
> gdal_transalte to make a jpeg-gtiff. Or use gdal_trasnlate to make a 3
> band
> lossless gtiff and then wrap it.
> 
> Can I do it in one step without an intermediate file?
> 
> Regards,
> Idan.
> 
> _______________________________________________
> gdal-dev mailing list

> gdal-dev@.osgeo

> https://lists.osgeo.org/mailman/listinfo/gdal-dev





--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to