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

Jukka Rahkonen jukka.rahkonen at maanmittauslaitos.fi
Tue Mar 10 08:03:46 PDT 2015


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


> Ops, I forgot the link [1], here it is:
 
> dalinfo dmt.tif -noct
> Driver: GTiff/GeoTIFF
> Files: dmt.tif
> Size is 19615, 11119
> Band 1 Block=19615x1 Type=UInt16, ColorInterp=Palette


Hi,

Perhaps it is because 16 bit + palette is not supported combination in png.
At least it appears so in the table of 
http://en.wikipedia.org/wiki/Portable_Network_Graphics#Color_depth

-Jukka Rahkonen-



More information about the gdal-dev mailing list