[mapserver-commits] r10721 - sandbox/mapserver6

svn at osgeo.org svn at osgeo.org
Sat Nov 13 13:27:33 EST 2010


Author: tamas
Date: 2010-11-13 10:27:32 -0800 (Sat, 13 Nov 2010)
New Revision: 10721

Modified:
   sandbox/mapserver6/mapoutput.c
Log:
Don't limit the GD renderer to MS_IMAGEMODE_PC256

Modified: sandbox/mapserver6/mapoutput.c
===================================================================
--- sandbox/mapserver6/mapoutput.c	2010-11-13 11:55:38 UTC (rev 10720)
+++ sandbox/mapserver6/mapoutput.c	2010-11-13 18:27:32 UTC (rev 10721)
@@ -998,7 +998,7 @@
             format->renderer = MS_RENDER_WITH_RAWDATA;
     }
     
-    if(format->renderer == MS_RENDER_WITH_GD && format->imagemode != MS_IMAGEMODE_PC256) {
+    /*if(format->renderer == MS_RENDER_WITH_GD && format->imagemode != MS_IMAGEMODE_PC256) {
        if( issue_error )
            msSetError( MS_MISCERR,
                        "OUTPUTFORMAT %s has IMAGEMODE RGB/RGBA, which is not supported for GD drivers.",
@@ -1007,7 +1007,7 @@
            msDebug( "OUTPUTFORMAT %s has IMAGEMODE RGB/RGBA, which is not supported for GD drivers.",
                  format->name );
        format->renderer = MS_RENDER_WITH_AGG;
-    }
+    }*/
 
     return result;
 }



More information about the mapserver-commits mailing list