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

Martin Landa landa.martin at gmail.com
Tue Mar 10 08:37:52 PDT 2015


Hi,

2015-03-10 16:03 GMT+01:00 Jukka Rahkonen <jukka.rahkonen at maanmittauslaitos.fi>:
> 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

right, `-expand rgba` helped to convert data into RGBA PNG output.
Thanks, Martin

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


More information about the gdal-dev mailing list