Changes between Version 35 and Version 36 of WKTRaster/SpecificationWorking01
- Timestamp:
- Dec 11, 2009, 9:07:29 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WKTRaster/SpecificationWorking01
v35 v36 250 250 Another variant should enable us to specify which band correspond to the r, the g and the b: 251 251 252 ST_AsJPEG(raster, integer, integer, integer) - raster, rband, gband, bband, quality=75 252 ST_AsJPEG(raster, integer, integer, integer) - raster, rband, gband, bband, quality=75[[BR]] 253 253 ST_AsJPEG(raster, integer, integer, integer, integer) - raster, rband, gband, bband, quality 254 254 … … 259 259 Another series should allow converting 1 band raster with pixel of type 8BUI to a grayscale JPEG: 260 260 261 ST_AsJPEG(raster, "GRAYSCALE") - convert only band 1 with quality = 75 262 ST_AsJPEG(raster, "GRAYSCALE", integer) - convert only band 1 with specified quality 263 ST_AsJPEG(raster, integer, "GRAYSCALE") - allow specifying the band number to convert 261 ST_AsJPEG(raster, "GRAYSCALE") - convert only band 1 with quality = 75[[BR]] 262 ST_AsJPEG(raster, "GRAYSCALE", integer) - convert only band 1 with specified quality[[BR]] 263 ST_AsJPEG(raster, integer, "GRAYSCALE") - allow specifying the band number to convert[[BR]] 264 264 ST_AsJPEG(raster, integer, "GRAYSCALE", integer) - allow specifying the band number to convert and the quality 265 265 266 266 Another series should allow converting 1 band raster of ANY pixel type to a grayscale JPEG. Pixel types different than 8BUI should be mapped according to specified min, max values and a mapping mode: "MaxMinValue" (default) or "MaxMinType". 267 267 268 ST_AsJPEG(raster, "GRAYSCALE", min, max, text) - convert only band 1 with quality = 75 269 ST_AsJPEG(raster, "GRAYSCALE", integer, min, max, text) - convert only band 1 with specified quality 270 ST_AsJPEG(raster, integer, "GRAYSCALE", min, max, text) - allow specifying the band number to convert 268 ST_AsJPEG(raster, "GRAYSCALE", min, max, text) - convert only band 1 with quality = 75[[BR]] 269 ST_AsJPEG(raster, "GRAYSCALE", integer, min, max, text) - convert only band 1 with specified quality[[BR]] 270 ST_AsJPEG(raster, integer, "GRAYSCALE", min, max, text) - allow specifying the band number to convert[[BR]] 271 271 ST_AsJPEG(raster, integer, "GRAYSCALE", integer, min, max, text) - allow specifying the band number to convert and the quality 272 272