Dear list,

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:

  IMAGECOLOR 255 255 255
  IMAGETYPE png32

  OUTPUTFORMAT
    NAME png32
    DRIVER 'AGG/PNG'
    MIMETYPE 'image/png'
    IMAGEMODE RGBA
    EXTENSION 'png'
    TRANSPARENT ON
  END

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"

Simply installed on Ubuntu using apt-get, but had I better compile from source 
-–with-experimental-png option instead? Please advise. Thanks in advance.

Regards,

Edward
                                          
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to