[mapserver-commits] r10841 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Thu Jan 6 16:46:13 EST 2011


Author: warmerdam
Date: 2011-01-06 13:46:12 -0800 (Thu, 06 Jan 2011)
New Revision: 10841

Modified:
   trunk/mapserver/mapfile.c
Log:
PC256 output with GDAL/ output formats rendered with GD

Modified: trunk/mapserver/mapfile.c
===================================================================
--- trunk/mapserver/mapfile.c	2011-01-06 21:18:11 UTC (rev 10840)
+++ trunk/mapserver/mapfile.c	2011-01-06 21:46:12 UTC (rev 10841)
@@ -4035,6 +4035,8 @@
                 || format->imagemode == MS_IMAGEMODE_FLOAT32 
                 || format->imagemode == MS_IMAGEMODE_BYTE )
                 format->renderer = MS_RENDER_WITH_RAWDATA;
+            if( format->imagemode == MS_IMAGEMODE_PC256 )
+                format->renderer = MS_RENDER_WITH_GD;
         }
 
         format->numformatoptions = numformatoptions;



More information about the mapserver-commits mailing list