44 G_fatal_error(
"PNG: input file has incorrect dimensions: expected: "
48 for (y = 0, p =
png.grid; y <
png.height; y++) {
49 for (
x = 0;
x <
png.width;
x++, p++) {
95 G_fatal_error(
"PNG: input mask file has incorrect dimensions: "
96 "expected: %dx%d got: %dx%d",
101 for (y = 0, p =
png.grid; y <
png.height; y++) {
102 for (
x = 0;
x <
png.width;
x++, p++) {
105 int k =
fgetc(input);
unsigned int png_get_color(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.