40 fputc((
unsigned char)
r,
output);
41 fputc((
unsigned char)
g,
output);
42 fputc((
unsigned char)
b,
output);
56 mask_name[strlen(mask_name) - 2] =
'g';
58 output = fopen(mask_name,
"wb");
73 fputc((
unsigned char)(255 - a),
output);
void png_get_pixel(unsigned int pixel, int *r, int *g, int *b, int *a)
void G_free(void *)
Free allocated memory.
void void void void G_fatal_error(const char *,...) __attribute__((format(printf
char * G_store(const char *)
Copy string to allocated memory.
GRASS png display driver - header file.
void output(const char *fmt,...)