[mapserver-users] Using a 16-bit per band PNG image

2009-03-17 Thread Reinoud Bokhorst
Hi, I am trying to use a PNG image with 16-bits per color band (TYPE=UInt16 according to GDAL) as a raster layer in mapserver. But what comes out is reduced to a 8-bit per color band PNG (TYPE=BYTE) resulting in a loss of colors. I tried various imagetype options like aggpng24, png24 and

Re: [mapserver-users] Using a 16-bit per band PNG image

2009-03-17 Thread Frank Warmerdam
Reinoud Bokhorst wrote: Hi, I am trying to use a PNG image with 16-bits per color band (TYPE=UInt16 according to GDAL) as a raster layer in mapserver. But what comes out is reduced to a 8-bit per color band PNG (TYPE=BYTE) resulting in a loss of colors. Reinoud, MapServer does not normally