[mapserver-users] 256 color PNG vs png24 how do set up the 2different formats within a map file

John Westwood John.Westwood at port.ac.uk
Fri Sep 12 04:55:42 PDT 2008


Hi,

Try:

IMAGEMODE PC256

More details at this link:

http://mapserver.gis.umn.edu/docs/reference/mapfile/outputformat 

Lots of useful info on the MapServer website! :)

John W.

Great Britain Historical GIS


>>> On 12/09/2008 at 12:18, in message
<fa2ac0580809120418s61e7f0e5xd5cf8ac2e88a810c at mail.gmail.com>, "John Mitchell"
<mitchelljj98 at gmail.com> wrote:
> Hi,
> 
> I would like to test both the data quality and performance between 256 color
> png and png24 but I am not sure how I would set up differently within a map
> file.
> 
> Below is what I am currently using within all my mapfiles for both raster
> and vector.  I believe that it outputting as png24 correct?  How would I
> change it in order to make it output as 256 color png?
> 
> OUTPUTFORMAT
>   NAME png
>   DRIVER "GD/PNG"
>   MIMETYPE "image/png"
>   IMAGEMODE RGB
>   EXTENSION "png"
>  END
> 
> 
> Thanks,




More information about the MapServer-users mailing list