GRASS Programmer's Manual  6.5.svn(2012)-r51648
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
pngdriver/read_ppm.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <grass/gis.h>
#include "pngdriver.h"
Include dependency graph for pngdriver/read_ppm.c:

Go to the source code of this file.

Functions

void read_ppm (void)
void read_pgm (void)

Function Documentation

void read_pgm ( void  )

Definition at line 56 of file pngdriver/read_ppm.c.

References file_name, G_fatal_error(), G_free(), G_store(), get_color(), grid, height, true_color, and dialogs::width.

Referenced by read_image().

void read_ppm ( void  )

Definition at line 9 of file pngdriver/read_ppm.c.

References b, file_name, g, G_fatal_error(), G_free(), G_store(), get_color(), grid, height, r, stride, true_color, and dialogs::width.

Referenced by read_image().