mhw-at-yg wrote > I have a lot of multi GB images that are unfortunately jpeg-in-geotiff > encoded before nodata was properly defined. As a result they all suffer > from > the jagged edges problem. > <http://osgeo-org.1560.x6.nabble.com/file/t192661/WVpPW.png> > > I've defined a method for adding a nodata mask side-car file that works > around this: > https://gis.stackexchange.com/questions/387877/add-a-nodata-mask-or-alpha-band-to-read-only-image/
Here's a windows bat file to recursively create masks for all TIF images in a directory tree. It's for the scenario where you can write to the folder where the images are stored: https://github.com/maphew/gdal-plus/blob/master/bin/readonly-nearblack.bat ----- -Matt -- 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