[mapserver-users] Re: Font rendering in MapServer 6.0

Brad Posthumus posthumusb at AGR.GC.CA
Mon Jul 11 12:08:26 EDT 2011


thomas bonfort wrote:
> 
> We've kept the GD renderer in 6.0 for some marginal use cases, but the
> preferred way is to switch to AGG rendering (which is compiled in by
> default): you can use the builtin png8 imagetype (mimetype: image/png;
> mode=8bit) which does a quantization step if you need a 256 color
> paletted image.
> 

Thanks Thomas, your suggestion worked. Here's the updated OUTPUTFORMAT
section that fixed the problem:

  OUTPUTFORMAT
    NAME png8
    DRIVER "AGG/PNG8"
    MIMETYPE "image/png; mode=8bit"
    IMAGEMODE RGB
    FORMATOPTION "INTERLACE=OFF"
    EXTENSION png
    TRANSPARENT ON
  END
 

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Font-rendering-in-MapServer-6-0-tp6555935p6571493.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list