Changes between Version 35 and Version 36 of WKTRaster/SpecificationWorking01

Show
Ignore:
Timestamp:
12/11/09 09:07:29 (3 years ago)
Author:
pracine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WKTRaster/SpecificationWorking01

    v35 v36  
    250250Another variant should enable us to specify which band correspond to the r, the g and the b: 
    251251 
    252 ST_AsJPEG(raster, integer, integer, integer) - raster, rband, gband, bband, quality=75 
     252ST_AsJPEG(raster, integer, integer, integer) - raster, rband, gband, bband, quality=75[[BR]] 
    253253ST_AsJPEG(raster, integer, integer, integer, integer) - raster, rband, gband, bband, quality 
    254254 
     
    259259Another series should allow converting 1 band raster with pixel of type 8BUI to a grayscale JPEG: 
    260260 
    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  
     261ST_AsJPEG(raster, "GRAYSCALE") - convert only band 1 with quality = 75[[BR]] 
     262ST_AsJPEG(raster, "GRAYSCALE", integer) - convert only band 1 with specified quality[[BR]] 
     263ST_AsJPEG(raster, integer, "GRAYSCALE") - allow specifying the band number to convert[[BR]] 
    264264ST_AsJPEG(raster, integer, "GRAYSCALE", integer) - allow specifying the band number to convert and the quality 
    265265 
    266266Another 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". 
    267267 
    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  
     268ST_AsJPEG(raster, "GRAYSCALE", min, max, text) - convert only band 1 with quality = 75[[BR]] 
     269ST_AsJPEG(raster, "GRAYSCALE", integer, min, max, text) - convert only band 1 with specified quality[[BR]] 
     270ST_AsJPEG(raster, integer, "GRAYSCALE", min, max, text) - allow specifying the band number to convert[[BR]] 
    271271ST_AsJPEG(raster, integer, "GRAYSCALE", integer, min, max, text) - allow specifying the band number to convert and the quality 
    272272