GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
pngdriver/write_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/write_ppm.c:

Go to the source code of this file.

Functions

void write_ppm (void)
 
void write_pgm (void)
 

Function Documentation

void write_pgm ( void  )

Definition at line 37 of file pngdriver/write_ppm.c.

References b, fclose(), file_name, g, G_fatal_error(), G_free(), G_store(), get_pixel(), grid, height, output(), r, dialogs::width, and y.

Referenced by write_image().

void write_ppm ( void  )

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

References b, fclose(), file_name, g, G_fatal_error(), G_free(), G_store(), get_pixel(), grid, height, output(), r, stride, dialogs::width, and y.

Referenced by write_image().