Re: [gdal-dev] [GDAL-dev] convert rgba alpha layer to rgb white

2014-02-09 Thread Even Rouault
Pierre, the issue must be -srcnodata b4. You probably intended b4 to be understood as band 4, but the value expected is a numeric value so b4 is actually understood as 0. I've just added validation of those arguments, so that this doesn't get unnoticed. You should just remove -srcnodata b4

[gdal-dev] [GDAL-dev] convert rgba alpha layer to rgb white

2014-02-05 Thread Pierre CARREAUD
Hi list, I’m trying to assembly some RGBA tiff in one with gdalbuildvrt and then to translate them to a RGB TIFF tiled file YCBCR jpeg compressed. No problem… But now, I would like to get a white color in the background instead of the black. The following commands work but I get nodata (and