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

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

See Also

ST_BandPixelType