[Gdal-dev] add colortable into UInt16 png file
Frank Warmerdam
warmerdam at pobox.com
Tue Aug 7 10:37:01 EDT 2007
Lijian Shi wrote:
> Hi, all
>
>
>
> I have added a colortable into Byte png file. Can I add a colortable
> into UInt16 png file with an intermediate MEM format dataset? There is
> an error reported as:
>
>
>
> libpng error invalid color type/bit depth combination in IHDR.
Lijian,
From the message it seems that libpng does not permit color tables with
16bit files. But if the png driver supported this, a MEM intermediate
dataset would be an appropriate way to associate the color table with the
data.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org
More information about the Gdal-dev
mailing list