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

--
HostGIS, Open Source solutions for the global GIS community
Greg Allensworth - SysAdmin, Programmer, GIS Person, Security
Network+   Server+   A+   Security+
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to