GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-d6dec75dd4
rast_to_img_string.c File Reference
#include <string.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/raster.h>
#include <grass/glocale.h>
Include dependency graph for rast_to_img_string.c:

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)
 

Macro Definition Documentation

◆ DEF_BLU

#define DEF_BLU   255

Definition at line 30 of file rast_to_img_string.c.

◆ DEF_GRN

#define DEF_GRN   255

Definition at line 29 of file rast_to_img_string.c.

◆ DEF_RED

#define DEF_RED   255

Definition at line 28 of file rast_to_img_string.c.

Function Documentation

◆ 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 NULL.