[mapserver-commits] r11597 - in trunk/msautotest/misc: . data

svn at osgeo.org svn at osgeo.org
Mon Apr 18 23:59:17 EDT 2011


Author: tbonfort
Date: 2011-04-18 20:59:17 -0700 (Mon, 18 Apr 2011)
New Revision: 11597

Added:
   trunk/msautotest/misc/data/colorwheel.png
   trunk/msautotest/misc/quantized.map
Log:
add test case for bug #3848


Added: trunk/msautotest/misc/data/colorwheel.png
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/misc/data/colorwheel.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/misc/quantized.map
===================================================================
--- trunk/msautotest/misc/quantized.map	                        (rev 0)
+++ trunk/msautotest/misc/quantized.map	2011-04-19 03:59:17 UTC (rev 11597)
@@ -0,0 +1,27 @@
+#bug 3848, test quantization on image with many colors
+
+MAP
+
+NAME TEST
+STATUS ON
+SIZE 400 300
+EXTENT 0.5 0.5 399.5 399.5
+IMAGECOLOR 255 255 0
+
+IMAGETYPE png_q
+
+OUTPUTFORMAT
+  NAME png_q
+  DRIVER AGG/PNG
+  IMAGEMODE RGB
+  FORMATOPTION "QUANTIZE_FORCE=on"
+END
+
+LAYER
+  NAME rgb
+  TYPE raster
+  STATUS default
+  DATA data/colorwheel.png
+END
+
+END # of map file



More information about the mapserver-commits mailing list