Ticket #902 (closed task: fixed)
|Reported by:||dustymugs||Owned by:||dustymugs|
As part of the process to provide complete implementations of ST_AsJPEG and ST_AsPNG, a method is required to reclassify larger numbers unable to be contained in 8BUI (JPEG and PNG) and 16BUI (PNG). For this reclassification function, we need to get the min and max values of a band, thus ST_MinMax.
ST_MinMax(rast raster, nband int) -> set of record
returns one record of two columns (min, max)
ST_MinMax(rast raster) -> set of record
assumes that the band index = 1