Definition at line 97 of file rtpg_utility.c.
99 text *pixeltypetext = NULL;
100 char *pixeltypechar = NULL;
107 pixeltypetext = PG_GETARG_TEXT_P(0);
108 pixeltypechar = text_to_cstring(pixeltypetext);
112 elog(ERROR,
"RASTER_minPossibleValue: Invalid pixel type: %s", pixeltypechar);
136 PG_RETURN_FLOAT8(pixsize);
rt_pixtype rt_pixtype_index_from_name(const char *pixname)
double rt_pixtype_get_min_value(rt_pixtype pixtype)
Return minimum value possible for pixel type.
References PT_16BUI, PT_1BB, PT_2BUI, PT_32BUI, PT_4BUI, PT_8BUI, PT_END, rt_pixtype_get_min_value(), and rt_pixtype_index_from_name().