<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:System;
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:System;
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Robert,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I am using the following:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-family:"System","sans-serif";mso-fareast-language:EN-US'>OUTPUTFORMAT<o:p></o:p></span></b></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-family:"System","sans-serif";mso-fareast-language:EN-US'> NAME "png"<o:p></o:p></span></b></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-family:"System","sans-serif";mso-fareast-language:EN-US'> DRIVER "AGG/PNG"<o:p></o:p></span></b></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-family:"System","sans-serif";mso-fareast-language:EN-US'> MIMETYPE "image/png"<o:p></o:p></span></b></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-family:"System","sans-serif";mso-fareast-language:EN-US'> IMAGEMODE "RGBA"<o:p></o:p></span></b></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-family:"System","sans-serif";mso-fareast-language:EN-US'> EXTENSION "png"<o:p></o:p></span></b></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-family:"System","sans-serif";mso-fareast-language:EN-US'> FORMATOPTION "GAMMA=0.75"<o:p></o:p></span></b></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-family:"System","sans-serif";mso-fareast-language:EN-US'> TRANSPARENT ON # Requires RGBA, not RGB otherwise errors. Also requires OFFSITE 255 255 255 in LAYER<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-family:"System","sans-serif";mso-fareast-language:EN-US'>END</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Or, Using Cairo (though I still have some issues with labelling using this - </span><a href="https://github.com/mapserver/mapserver/issues/4581">https://github.com/mapserver/mapserver/issues/4581</a><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>):<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-family:"System","sans-serif";mso-fareast-language:EN-US'>OUTPUTFORMAT<o:p></o:p></span></b></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-family:"System","sans-serif";mso-fareast-language:EN-US'> NAME "png"<o:p></o:p></span></b></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-family:"System","sans-serif";mso-fareast-language:EN-US'> DRIVER "CAIRO/PNG"<o:p></o:p></span></b></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-family:"System","sans-serif";mso-fareast-language:EN-US'> MIMETYPE "image/png"<o:p></o:p></span></b></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-family:"System","sans-serif";mso-fareast-language:EN-US'> IMAGEMODE "RGBA"<o:p></o:p></span></b></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-family:"System","sans-serif";mso-fareast-language:EN-US'> EXTENSION "png"<o:p></o:p></span></b></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-family:"System","sans-serif";mso-fareast-language:EN-US'> FORMATOPTION "GAMMA=0.75"<o:p></o:p></span></b></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-family:"System","sans-serif";mso-fareast-language:EN-US'> TRANSPARENT ON # Requires RGBA, not RGB otherwise errors. Also requires OFFSITE 255 255 255 in LAYER<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-family:"System","sans-serif";mso-fareast-language:EN-US'>END<o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Donald<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> mapserver-users-bounces@lists.osgeo.org [mailto:mapserver-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Robert R. Raiz<br><b>Sent:</b> 26 July 2013 13:00<br><b>To:</b> mapserver-users@lists.osgeo.org<br><b>Subject:</b> [mapserver-users] msWMSLoadGetMapParams(): Image handling error. Unsupported output format (image/png; bits=8)<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Hello all, <br><br>I've been using the following OUTPUTFORMAT with mapserver 6:</span><o:p></o:p></p><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> </span><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>IMAGETYPE png</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>OUTPUTFORMAT</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>NAME "png8"</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>DRIVER AGG/PNG8</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>MIMETYPE "image/png; mode=8bit"</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>EXTENSION "png"</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>TRANSPARENT ON</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>IMAGEMODE RGBA</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>FORMATOPTION "QUANTIZE_FORCE=off"</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>FORMATOPTION "QUANTIZE_COLORS=256"</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>FORMATOPTION "INTERLACE=ON"</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>END</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br>It works with vector data but it does a really bad job in rendering PIXMAP SYMBOLS, png files. <br>No matter what other settings I tried in the OUTPUTFORMAT, I get the same error as stated in the subject field.<br><br>I tried every example from the documentation but anything else than what I have above, gives me that error.<br><br>Back in Mapserver5 I was using:</span><o:p></o:p></p><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'> IMAGETYPE png24</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>OUTPUTFORMAT</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'> NAME 'AGGA'</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'> DRIVER 'AGG/PNG'</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'> IMAGEMODE RGBA</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'> MIMETYPE "image/png"</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'> EXTENSION "png"</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>END </span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>It rendered everything ok but this does not work anymore as well.<br><br>Can you help me out in trying to fix this as to display everything smooth?<br><br>Thank you,<o:p></o:p></span></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>-- <br><b><i>Raiz Roland Robert</i></b><br><br><o:p></o:p></p></div></div></body></html>