I have never tried it but I think this may be what you are looking for (with the -setalpha flag)
https://gdal.org/programs/nearblack.html#nearblack On Mon, 3 Oct 2022 at 21:23, <liglio.pess...@nexxa.com.br> wrote: > Hi, > > > > I have a PNG image RGB (3-band), and I want to set the background > transparent. How do I do it using GDAL ? > > > > Regards, > > > > Liglio > > > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev