GD vs AGG performance...

thomas bonfort thomas.bonfort at GMAIL.COM
Fri Aug 24 02:08:00 EDT 2007


>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070824/5e4b1510/attachment.html


More information about the mapserver-users mailing list