[mapserver-commits] r9259 - in trunk/msautotest/gdal: . data
expected
svn at osgeo.org
svn at osgeo.org
Mon Aug 17 15:47:46 EDT 2009
Author: warmerdam
Date: 2009-08-17 15:47:44 -0400 (Mon, 17 Aug 2009)
New Revision: 9259
Added:
trunk/msautotest/gdal/data/rgb16.tif
trunk/msautotest/gdal/data/rgb16.wld
trunk/msautotest/gdal/expected/lut_float.png
trunk/msautotest/gdal/expected/rgb_16bit.png
trunk/msautotest/gdal/lut_float.map
trunk/msautotest/gdal/rgb_16bit.map
Log:
added testing for 16bit rgb images, and luts on non-8bit data
Added: trunk/msautotest/gdal/data/rgb16.tif
===================================================================
(Binary files differ)
Property changes on: trunk/msautotest/gdal/data/rgb16.tif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/msautotest/gdal/data/rgb16.wld
===================================================================
--- trunk/msautotest/gdal/data/rgb16.wld (rev 0)
+++ trunk/msautotest/gdal/data/rgb16.wld 2009-08-17 19:47:44 UTC (rev 9259)
@@ -0,0 +1,6 @@
+10
+0
+0
+-10
+5
+295
Added: trunk/msautotest/gdal/expected/lut_float.png
===================================================================
(Binary files differ)
Property changes on: trunk/msautotest/gdal/expected/lut_float.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/msautotest/gdal/expected/rgb_16bit.png
===================================================================
(Binary files differ)
Property changes on: trunk/msautotest/gdal/expected/rgb_16bit.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/msautotest/gdal/lut_float.map
===================================================================
--- trunk/msautotest/gdal/lut_float.map (rev 0)
+++ trunk/msautotest/gdal/lut_float.map 2009-08-17 19:47:44 UTC (rev 9259)
@@ -0,0 +1,23 @@
+
+#
+# Test an inline curve on a one band floating point file. The LUT is
+# applied *after* scaling to 8bit.
+#
+#
+MAP
+NAME TEST
+STATUS ON
+SIZE 400 300
+EXTENT 0.5 0.5 399.5 299.5
+IMAGECOLOR 255 255 0
+
+LAYER
+ NAME grey
+ TYPE raster
+ STATUS default
+ DATA data/float.tif
+ PROCESSING "SCALE=0,60"
+ PROCESSING "LUT_1=0:0,127:255"
+END
+
+END # of map file
Added: trunk/msautotest/gdal/rgb_16bit.map
===================================================================
--- trunk/msautotest/gdal/rgb_16bit.map (rev 0)
+++ trunk/msautotest/gdal/rgb_16bit.map 2009-08-17 19:47:44 UTC (rev 9259)
@@ -0,0 +1,29 @@
+#
+# Test a multiband scaled image (16bit).
+#
+
+MAP
+
+NAME TEST
+STATUS ON
+SIZE 400 300
+EXTENT 0.5 0.5 399.5 299.5
+IMAGECOLOR 255 255 0
+
+OUTPUTFORMAT
+ NAME png24_t
+ DRIVER "GDAL/PNG"
+ IMAGEMODE RGB
+ TRANSPARENT OFF
+END
+
+LAYER
+ NAME rgb
+ TYPE raster
+ STATUS default
+ DATA data/rgb16.tif
+ OFFSITE 111 222 111
+ PROCESSING "SCALE=200,900"
+END
+
+END # of map file
More information about the mapserver-commits
mailing list