Re: [gdal-dev] ECRG RasterIO problem

2022-10-04 Thread Even Rouault
Martin, Le 04/10/2022 à 17:53, mchap...@hyperacktive.com a écrit : Even, You are my new hero.  That worked! Question:  Should I always use GDAL_FORCE_CACHING=YES or is it driver specific? It is used by the GDALDataset::RasterIO() and GDALRasterBand::RasterIO() methods (which are not virtu

Re: [gdal-dev] ECRG RasterIO problem

2022-10-04 Thread mchapman
Even, You are my new hero. That worked! Question: Should I always use GDAL_FORCE_CACHING=YES or is it driver specific? I would like to just set it to YES once at startup and forget about it. What are the pros and cons of setting it to YES / NO? Thanks for committing that chang

Re: [gdal-dev] PNG image set background transparent

2022-10-04 Thread Paul Harwood
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, wrote: > Hi, > > > > I have a PNG image RGB (3-band), and I want to set the background > transparent. How do I do it