[gdal-dev] libpng: Invalid color type/bit depth combination in IHDR

Martin Landa landa.martin at gmail.com
Tue Mar 10 05:56:12 PDT 2015


Hi,

when trying to convert data [1] from GeoTIFF to PNG I ended up with error below:

gdal_translate -of PNG dmt.tif dmt.png
Input file size is 19615, 11119
Warning 1: libpng: Invalid color type/bit depth combination in IHDR
ERROR 1: libpng: Invalid IHDR data

GDAL: 2.0.0
libpng: 1.2.49

Any idea how to solve it? Thanks, Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the gdal-dev mailing list