[mapserver-commits] r10742 - sandbox/mapserver6

svn at osgeo.org svn at osgeo.org
Fri Nov 19 10:49:13 EST 2010


Author: tbonfort
Date: 2010-11-19 07:49:12 -0800 (Fri, 19 Nov 2010)
New Revision: 10742

Modified:
   sandbox/mapserver6/mapoutput.c
Log:
switch to AGG renderer when requesting GD+RGB/RGBA


Modified: sandbox/mapserver6/mapoutput.c
===================================================================
--- sandbox/mapserver6/mapoutput.c	2010-11-19 15:48:32 UTC (rev 10741)
+++ sandbox/mapserver6/mapoutput.c	2010-11-19 15:49:12 UTC (rev 10742)
@@ -1039,7 +1039,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.",
@@ -1048,7 +1048,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