<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>&nbsp;gif isn&#39;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>&nbsp; NAME &#39;AGG&#39;<br>&nbsp; DRIVER AGG/PNG<br>&nbsp; IMAGEMODE RGB<br>END<br><br>24 bit png, rendered on a transparent background:<br>OUTPUTFORMAT<br>&nbsp; NAME &#39;AGGA&#39;
<br>&nbsp; DRIVER AGG/PNG<br>&nbsp; IMAGEMODE RGBA<br>END<br><br>24 bit jpeg output:<br>OUTPUTFORMAT<br>&nbsp;&nbsp;&nbsp; NAME &#39;AGG_JPEG&#39;<br>&nbsp;&nbsp;&nbsp; DRIVER AGG/JPEG IMAGEMODE RGB <br>END<br><br>png output, with number of colors reduced with quantization:
<br>OUTPUTFORMAT<br>&nbsp; NAME &#39;AGG_Q&#39;<br>&nbsp; DRIVER AGG/PNG<br>&nbsp; IMAGEMODE RGB<br>&nbsp; FORMATOPTION &quot;QUANTIZE_FORCE=ON&quot;<br>&nbsp; FORMATOPTION &quot;QUANTIZE_DITHER=OFF&quot;<br>&nbsp; FORMATOPTION &quot;QUANTIZE_COLORS=256&quot;
<br>END<br><br><br><br>as for building, it will depend on your platform, but generally speaking you&#39;ll run<br><br>./configure [...] --with-agg=/usr [...] if you&#39;re using a distro build of agg<br><br>or<br><br>./configure [...] --with-agg=/path/to/agg-source [...] if you&#39;re using a downloaded version from 
<a href="http://antigrain.com">antigrain.com</a> (you&#39;ll have to build agg in the source directory before doing this. just running &#39;make&#39; should be enough)<br><br>happy to answer other questions if any (en francais aussi, si c&#39;est plus facile)
<br><br>thomas <br><br></div></div><br>