<br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>The AGG image is about 4x the file size as the GD image, which isn't<br>that surprising with all that antialiasing going on. More of a symptom
<br>than anything, but not everyone is going to enjoy downloading 400k<br>images, so it's something to think about if you're going to use this in<br>a production site.</blockquote><div><br><br>you can also set some options in your OUTPUTFORMAT to enable color quantization in the final image,
<br>for example <br><br>OUTPUTFORMAT<br> NAME 'AGGJ'<br> DRIVER AGG/PNG<br> IMAGEMODE RGB<br> FORMATOPTION "QUANTIZE_FORCE=ON"<br> FORMATOPTION "QUANTIZE_DITHER=OFF"<br> FORMATOPTION "QUANTIZE_COLORS=256"
<br>END<br></div><br></div><br>