<span class="gmail_quote"></span><br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Another question, I tested the new outputformat with AGG, is it possible
<br>to get jpg or gif image with it? If so, how can I setting up my mapfile<br>to realize this? Do I need special flag when building mapserver?</blockquote><div><br> gif isn't supported with agg.<br>these are the main outputformats you can use with agg:
<br><br>base outputformat, will output a 24 bit png:<br>OUTPUTFORMAT<br> NAME 'AGG'<br> DRIVER AGG/PNG<br> IMAGEMODE RGB<br>END<br><br>24 bit png, rendered on a transparent background:<br>OUTPUTFORMAT<br> NAME 'AGGA'
<br> DRIVER AGG/PNG<br> IMAGEMODE RGBA<br>END<br><br>24 bit jpeg output:<br>OUTPUTFORMAT<br> NAME 'AGG_JPEG'<br> DRIVER AGG/JPEG IMAGEMODE RGB <br>END<br><br>png output, with number of colors reduced with quantization:
<br>OUTPUTFORMAT<br> NAME 'AGG_Q'<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><br><br><br>as for building, it will depend on your platform, but generally speaking you'll run<br><br>./configure [...] --with-agg=/usr [...] if you're using a distro build of agg<br><br>or<br><br>./configure [...] --with-agg=/path/to/agg-source [...] if you're using a downloaded version from
<a href="http://antigrain.com">antigrain.com</a> (you'll have to build agg in the source directory before doing this. just running 'make' should be enough)<br><br>happy to answer other questions if any (en francais aussi, si c'est plus facile)
<br><br>thomas <br><br></div></div><br>