ST_MinPossibleValue

Name

ST_MinPossibleValue — Returns the minimum value this pixeltype can store.

Synopsis

integer ST_MinPossibleValue ( text pixeltype ) ;

Description

Returns the minimum value this pixeltype can store.

Examples

Code
SELECT ST_MinPossibleValue('16BSI');
Output
-32768
Code
SELECT ST_MinPossibleValue('8BUI');
Output
0