GRASS Programmer's Manual  6.4.4(2014)-r
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, 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, 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().