> > The AGG image is about 4x the file size as the GD image, which isn't > that surprising with all that antialiasing going on. More of a symptom > than anything, but not everyone is going to enjoy downloading 400k > images, so it's something to think about if you're going to use this in > a production site.
you can also set some options in your OUTPUTFORMAT to enable color quantization in the final image, for example OUTPUTFORMAT NAME 'AGGJ' DRIVER AGG/PNG IMAGEMODE RGB FORMATOPTION "QUANTIZE_FORCE=ON" FORMATOPTION "QUANTIZE_DITHER=OFF" FORMATOPTION "QUANTIZE_COLORS=256" END
