[gdal-dev] gdal2tiles 3.11.3 dies when source files have transparency
Stefan Gofferje
lists at home.gofferje.net
Tue Sep 30 22:58:07 PDT 2025
Nope...
Creating complete.gdalg.json...
Creating tiles...
0...10...20...30...40...50...60...70... - estimated
remaining time: 00:03:53ERROR 1: tile: IReadBlock failed at X offset
386, Y offset 24: File tilesDir/14/9430/4541.png exists but cannot be
opened with PNG driver
I can open the file in question with gwenview or GIMP no problem....
On 9/29/25 19:03, Scott via gdal-dev wrote:
> echo "Creating complete.gdalg.json..."
> gdal raster mosaic \
> --input="cache/*.tif" \
> --output="complete.gdalg.json" \
> --resolution=highest \
> --overwrite
>
> echo "Creating tiles..."
> gdal raster tile \
> --input=complete.gdalg.json \
> --min-zoom=12 --max-zoom=14 \
> --skip-blank --overview-resampling=cubic \
> --co ZLEVEL=9 --add-alpha \
> --output=tilesDir \
> --progress
--
(o_ Stefan Gofferje | SCLT, MCP, CCSA
//\ Reg'd Linux User #247167 | VCP #2263
V_/_ https://www.gofferje.net | https://www.saakeskus.fi
More information about the gdal-dev
mailing list