<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Dear list,<br><br>Serving up PNG images to a Silverlight client, that needs to have a transparent background doesn't appear to work for 8-bit PNG and 24-bit PNG, because Silverlight does not appear to support palette-based transparency. Is there any way to serve up 32-bit PNG like so:<br><br>&nbsp; IMAGECOLOR 255 255 255<br>&nbsp; IMAGETYPE png32<br><br>&nbsp; OUTPUTFORMAT<br>&nbsp;&nbsp;&nbsp; NAME png32<br>&nbsp;&nbsp;&nbsp; DRIVER 'AGG/PNG'<br>&nbsp;&nbsp;&nbsp; MIMETYPE 'image/png'<br>&nbsp;&nbsp;&nbsp; IMAGEMODE RGBA<br>&nbsp;&nbsp;&nbsp; EXTENSION 'png'<br>&nbsp;&nbsp;&nbsp; TRANSPARENT ON<br>&nbsp; END<br><br>Our current MapServer setup is: "MapServer version 5.4.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE"<br><br>Simply installed on Ubuntu using apt-get, but had I better compile from source -–with-experimental-png option instead? Please advise. Thanks in advance.<br><br>Regards,<br><br>Edward<br>                                               </body>
</html>