GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
#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 31 of file rast_to_img_string.c.
Referenced by Rast_map_to_img_str().
#define DEF_GRN 255 |
Definition at line 30 of file rast_to_img_string.c.
Referenced by Rast_map_to_img_str().
#define DEF_RED 255 |
Definition at line 29 of file rast_to_img_string.c.
Referenced by Rast_map_to_img_str().
int Rast_map_to_img_str | ( | char * | name, |
int | color_mode, | ||
unsigned char * | result | ||
) |
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, 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().