GRASS GIS 8 Programmer's Manual 8.3.2(2024)-exported
|
GRASS png display driver - read image (lower level functions) More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <grass/gis.h>
#include "pngdriver.h"
Go to the source code of this file.
Functions | |
void | read_ppm (void) |
void | read_pgm (void) |
GRASS png display driver - read image (lower level functions)
(C) 2007-2014 by Glynn Clements and the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file pngdriver/read_ppm.c.
void read_pgm | ( | void | ) |
Definition at line 68 of file pngdriver/read_ppm.c.
References png_state::file_name, G_fatal_error(), G_free(), G_store(), png_state::grid, png_state::height, png, png_get_color(), png_state::true_color, png_state::width, and x.
Referenced by read_image().
void read_ppm | ( | void | ) |
Definition at line 21 of file pngdriver/read_ppm.c.
References b, png_state::file_name, g, G_fatal_error(), png_state::grid, png_state::height, png, png_get_color(), r, png_state::true_color, png_state::width, and x.
Referenced by read_image().