[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mapserver-commits
Subject:    [mapserver-commits] r10742 - sandbox/mapserver6
From:       svn () osgeo ! org
Date:       2010-11-19 15:49:13
Message-ID: 20101119154913.0B789390613 () trac ! osgeo ! org
[Download RAW message or body]

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;
 }

_______________________________________________
mapserver-commits mailing list
mapserver-commits@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic