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

Jukka Rahkonen jukka.rahkonen at maanmittauslaitos.fi
Tue Mar 10 07:41:30 PDT 2015


Martin Landa <landa.martin <at> gmail.com> writes:

> 
> 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


Hi,

What do you get from gdalinfo dmt.tif?

-Jukka Rahkonen-



More information about the gdal-dev mailing list