Gregor at HostGIS wrote:
Andrew Ayre wrote:
Now I have SUPPORTS=AGG. Also the error has gone. But the output isn't
anti-aliased. Is there something else that I need to add
OUTPUTFORMAT
NAME 'AGG_Q'
DRIVER AGG/PNG
IMAGEMODE RGB
FORMATOPTION "QUANTIZE_FORCE=ON"
FORMATOPTION "QUANTIZE_DITHER=OFF"
FORMATOPTION "QUANTIZE_COLORS=256"
END
Have you tried removing those formatoption lines? Seems to me that
forcing it to a 256-color palette will mess with AGG's very careful
subpixel shading alpha-channel stuff.
The paragraph I use is this.
OUTPUTFORMAT
NAME "png"
MIMETYPE "image/png"
DRIVER "AGG/PNG"
EXTENSION "png"
IMAGEMODE RGBA
TRANSPARENT OFF
END
Thanks Gregor, that worked!
Andy
--
Andy
PGP Key ID: 0xDC1B5864
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users