you can mix outputformats in the mapfile, ie have multiple OUTPUTFORMAT...END blocks.<br>but only one is used at a time when the actual drawing takes place, so you can&#39;t have different outpuformats for different layers.
<br><br>tb<br><br><div><span class="gmail_quote">On 11/7/07, <b class="gmail_sendername">Milo van der Linden</b> &lt;<a href="mailto:mlinden@zeelandnet.nl">mlinden@zeelandnet.nl</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



  

<div bgcolor="#ffffff" text="#000000">
Am I correct when I assume that in a single mapfile you can mix AGG and
GD outputformats?<br>
<br>
Frank Warmerdam schreef:
<span class="q"><blockquote type="cite">Frédéric
Junod wrote:
  <br>
  <blockquote type="cite">Hi all,
    <br>
    <br>
Does the AGG renderer support gif ?
    <br>
    <br>
I suspect no because [1] don&#39;t mention it.
    <br>
    <br>
I&#39;ve try with:
    <br>
    <br>
OUTPUTFORMAT
    <br>
&nbsp; NAME gif
    <br>
&nbsp; DRIVER &quot;AGG/GIF&quot;
    <br>
&nbsp; MIMETYPE &quot;image/gif&quot;
    <br>
END
    <br>
    <br>
But mapserv returns:
    <br>
&quot;loadOutputFormat(): General error message. OUTPUTFORMAT clause
references
    <br>
driver AGG/GIF, but this driver isn&#39;t configured.&quot;
    <br>
  </blockquote>
  <br>
Frédéric,
  <br>
  <br>
I think the issue is that AGG produces 24bit output images, not 8bit
paletted
  <br>
as supported by GIF.&nbsp; So only 24bit image formats (PNG, JPEG) are
available.
  <br>
In theory GIF could be supported by &quot;crushing&quot; the image down to 8bit
paletted
  <br>
after rendering is complete, but I think the results would be very
  <br>
unsatisfactory in most cases.
  <br>
  <br>
Best regards,
  <br>
</blockquote>
<br>
<br>
</span><div>-- <br>




<br>
<table border="0" cellpadding="0" cellspacing="0" width="400">
  <tbody>
    <tr>
      <td rowspan="3" align="left" height="0" valign="bottom" width="15"><br>
      </td>
      <td colspan="2" align="left" height="78" valign="top" width="0">
      <p>Milo van der Linden
      <br>
      <a>skype: milovanderlinden</a><br>
      <a href="mailto:mlinden@zeelandnet.nl" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mlinden@zeelandnet.nl</a><br>
      <a href="mailto:milovanderlinden@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">milovanderlinden@gmail.com</a><br>
      <a href="mailto:milo@3dsite.nl" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">milo@3dsite.nl</a><br>
      <a href="http://www.3dsite.nl" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.3dsite.nl</a><br>
      </p>
      </td>
      <td rowspan="3" align="left" height="0" valign="top" width="15">&nbsp;</td>
      <td valign="top" width="300">
      <p><span lang="NL">De informatie in dit bericht
reflecteert mijn persoonlijke mening en niet die van een bedrijf of
instantie. Aan de informatie kunnen geen rechten worden ontleend.
Indien dit bericht onderdeel is van een forum, mailing-list of
community dan gelden automatisch de bij het betreffende medium
behorende voorwaarden.</span>
      <span lang="EN">The information in this message reflects my
personal opinion and not that of a company or public body. All rights
reserved.If this message is contained in a mailing-list or community,
the rights on the medium are automatically adapted.</span></p>
      </td>
    </tr>
  </tbody>
</table>
</div>
</div>

</blockquote></div><br>