|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-f6f2c534ea
|
#include <string.h>#include <stdlib.h>#include <grass/gis.h>#include <grass/raster.h>#include <grass/glocale.h>
Go to the source code of this file.
Macros | |
| #define | DEF_RED 255 |
| #define | DEF_GRN 255 |
| #define | DEF_BLU 255 |
Functions | |
| int | Rast_map_to_img_str (char *name, int color_mode, unsigned char *result) |
| #define DEF_BLU 255 |
Definition at line 30 of file rast_to_img_string.c.
| #define DEF_GRN 255 |
Definition at line 29 of file rast_to_img_string.c.
| #define DEF_RED 255 |
Definition at line 28 of file rast_to_img_string.c.
Definition at line 58 of file rast_to_img_string.c.
References CELL_TYPE, DCELL_TYPE, DEF_BLU, DEF_GRN, DEF_RED, FCELL_TYPE, G_find_raster2(), G_free(), G_malloc, name, NULL, Rast_allocate_c_buf(), Rast_allocate_d_buf(), Rast_allocate_f_buf(), Rast_close(), Rast_free_colors(), Rast_get_map_type(), Rast_get_row(), Rast_is_null_value(), Rast_lookup_colors(), Rast_open_old(), Rast_read_colors(), Rast_window_cols(), and Rast_window_rows().