[mapserver-commits] r11240 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Fri Mar 18 12:28:37 EDT 2011
Author: tbonfort
Date: 2011-03-18 09:28:37 -0700 (Fri, 18 Mar 2011)
New Revision: 11240
Modified:
trunk/mapserver/mapoutput.c
Log:
use image/png instead of image/png; mode=24bit for default AGG/PNG formats
Modified: trunk/mapserver/mapoutput.c
===================================================================
--- trunk/mapserver/mapoutput.c 2011-03-18 16:25:49 UTC (rev 11239)
+++ trunk/mapserver/mapoutput.c 2011-03-18 16:28:37 UTC (rev 11240)
@@ -200,11 +200,12 @@
{
if(!name) name="png24";
format = msAllocOutputFormat( map, name, driver );
- format->mimetype = msStrdup("image/png; mode=24bit");
+ format->mimetype = msStrdup("image/png");
format->imagemode = MS_IMAGEMODE_RGB;
format->extension = msStrdup("png");
format->renderer = MS_RENDER_WITH_AGG;
}
+
if( strcasecmp(driver,"AGG/PNG8") == 0 )
{
if(!name) name="png8";
More information about the mapserver-commits
mailing list