Re: [mapserver-users] OUTPUTFORMAT png 16-bits

2020-02-05 Thread Johannes Paul
Thanks for the trick Jeff, unfortunatelly i still get a 8-bits png and obviously uint16 is not a valid mapserver imagemode... Johannes Le mer. 5 févr. 2020 à 16:52, Jeff McKenna a écrit : > Hi Johannes, > > I just wanted to mention that what I always test OUTPUTFORMAT with is > through the shp2i

Re: [mapserver-users] OUTPUTFORMAT png 16-bits

2020-02-05 Thread Jeff McKenna
Hi Johannes, I just wanted to mention that what I always test OUTPUTFORMAT with is through the shp2img commandline utility, with the "-i" switch, such as: shp2img -m test.map -o ttt.png -i PNG16 -all_debug 5 PS. in the future MapServer v8.0 I hope to help change that utility name to "map2i

Re: [mapserver-users] OUTPUTFORMAT png 16-bits

2020-02-05 Thread Eichner, Andreas - SID
rver-users@lists.osgeo.org Betreff: Re: [mapserver-users] OUTPUTFORMAT png 16-bits Hi, But it is GDAL that is supposed to write the png because of DRIVER GDAL/PNG GDAL does support UInt16 fot png but it does not support int16. Perhaps this has something to do with the problem. -Jukk

Re: [mapserver-users] OUTPUTFORMAT png 16-bits

2020-02-05 Thread Rahkonen Jukka (MML)
: keskiviikko 5. helmikuuta 2020 13.05 Vastaanottaja: Johannes Paul ; Rahkonen Jukka (MML) Kopio: mapserver-users@lists.osgeo.org Aihe: AW: [mapserver-users] OUTPUTFORMAT png 16-bits Hello Johannes, 16bit-PNGs are IMHO not supported by MapServer. Although libPNG supports 16bit depth (see http

Re: [mapserver-users] OUTPUTFORMAT png 16-bits

2020-02-05 Thread Eichner, Andreas - SID
kko 5. helmikuuta 2020 12.03 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: [mapserver-users] OUTPUTFORMAT png 16-bits Hello, I'm using Mapserver to output PNG 16-bits DEM raster from .HGT elevation data. I'm using the below output fo

Re: [mapserver-users] OUTPUTFORMAT png 16-bits

2020-02-05 Thread Johannes Paul
ta > *Johannes Paul > *Lähetetty:* keskiviikko 5. helmikuuta 2020 12.03 > *Vastaanottaja:* mapserver-users@lists.osgeo.org > *Aihe:* [mapserver-users] OUTPUTFORMAT png 16-bits > > > > Hello, > > I'm using Mapserver to output PNG 16-bits DEM raster from .HGT elevation

Re: [mapserver-users] OUTPUTFORMAT png 16-bits

2020-02-05 Thread Rahkonen Jukka (MML)
Paul Lähetetty: keskiviikko 5. helmikuuta 2020 12.03 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: [mapserver-users] OUTPUTFORMAT png 16-bits Hello, I'm using Mapserver to output PNG 16-bits DEM raster from .HGT elevation data. I'm using the below output format definition : OU

[mapserver-users] OUTPUTFORMAT png 16-bits

2020-02-05 Thread Johannes Paul
Hello, I'm using Mapserver to output PNG 16-bits DEM raster from .HGT elevation data. I'm using the below output format definition : OUTPUTFORMAT NAME PNG16 DRIVER GDAL/PNG MIMETYPE image/png IMAGEMODE INT16 EXTENSION "png" END However I keep on getting the standard PNG 8-bits out of ma