<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Here's the definition I appear to be
using:<br>
<br>
IMAGETYPE AGG_PNG<br>
OUTPUTFORMAT<br>
NAME 'AGG_PNG'<br>
DRIVER AGG/PNG<br>
# MIMETYPE "image/png;mode=24bit"<br>
MIMETYPE "image/png"<br>
IMAGEMODE RGBA # renders IMAGECOLOR transparent<br>
EXTENSION "png"<br>
FORMATOPTION "INTERLACE=false"<br>
FORMATOPTION "TRANSPARENT=ON"<br>
TRANSPARENT ON<br>
FORMATOPTION "QUANTIZE_FORCE=ON"<br>
FORMATOPTION "QUANTIZE_DITHER=off"<br>
FORMATOPTION "QUANTIZE_COLORS=256"<br>
END<br>
<br>
Which version of Mapserver are you using?<br>
<pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
On 7/24/2013 7:37 AM, Robert R. Raiz wrote:<br>
</div>
<blockquote
cite="mid:CAF=UrP=CxeR-X4O66qrQmGv=L4D7L=WY0ComW4XcmkdiPdXv-w@mail.gmail.com"
type="cite">
<div dir="ltr">I just tried it out. Both:<br>
<br>
<div><font size="1"><span class="" style="white-space:pre"> </span>WEB</font></div>
<div><font size="1"><span class="" style="white-space:pre"> </span>METADATA</font></div>
<div>
<font size="1"><span class="" style="white-space:pre"> </span>'ows_title'
'Parcel Maps'</font></div>
<div><font size="1"><span class="" style="white-space:pre"> </span>'ows_srs'
'EPSG:26915 EPSG:4326 EPSG:900913 EPSG:4269 EPSG:2277'</font></div>
<div><font size="1"><span class="" style="white-space:pre"> </span>'ows_enable_request'
'*'</font></div>
<div><font size="1"><span class="" style="white-space:pre"> </span>'ows_onlineresource'
'<a moz-do-not-send="true" href="http://www.geomoose.org">http://www.geomoose.org</a>'</font></div>
<div><font size="1"><span class="" style="white-space:pre"> </span>END</font></div>
<div><font size="1"><span class="" style="white-space:pre"> </span>END</font></div>
<div><font size="1"><br>
</font></div>
<div><font size="1"><span class="" style="white-space:pre"> </span>OUTPUTFORMAT</font></div>
<div><font size="1"><span class="" style="white-space:pre"> </span>
NAME "png8"</font></div>
<div><font size="1"><span class="" style="white-space:pre"> </span>
DRIVER AGG/PNG8</font></div>
<div><font size="1"><span class="" style="white-space:pre"> </span>
MIMETYPE "image/png; mode=8bit"</font></div>
<div><font size="1"><span class="" style="white-space:pre"> </span>
IMAGEMODE RGB</font></div>
<div><font size="1"><span class="" style="white-space:pre"> </span>
EXTENSION "png"</font></div>
<div><font size="1"><span class="" style="white-space:pre"> </span>END</font></div>
<div><font size="1"><br>
</font></div>
<div><font size="1">And:</font><br>
<br>
<div style="font-size:x-small"> OUTPUTFORMAT</div>
<div style="font-size:x-small"><span class=""
style="white-space:pre"> </span> NAME "png32"</div>
<div style="font-size:x-small"><span class=""
style="white-space:pre"> </span> DRIVER AGG/PNG</div>
<div style="font-size:x-small"><span class=""
style="white-space:pre"> </span> MIMETYPE "image/png;
mode=32bit"</div>
<div style="font-size:x-small"><span class=""
style="white-space:pre"> </span> IMAGEMODE RGBA</div>
<div style="font-size:x-small"><span class=""
style="white-space:pre"> </span> EXTENSION "png"</div>
<div style="font-size:x-small">
<span class="" style="white-space:pre"> </span>END</div>
<br>
Both return the same error. I think the syntax is quite ok, I
do not see what could be wrong as there are a few simple
lines.<br>
If I put DRIVER AGG/PNG32 is returns another
error: loadOutputFormat(): General error message. OUTPUTFORMAT
clause references driver AGG/PNG32, but this driver isn't
configured.
</div>
</div>
<div class="gmail_extra"><br>
<br>
</div>
</blockquote>
<br>
</body>
</html>