GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gsd_img_tif.c File Reference

OGSF library - TIFF stuff. More...

#include <grass/config.h>
#include <stdlib.h>
#include <sys/types.h>
#include <grass/gis.h>
#include <grass/gstypes.h>
#include <grass/glocale.h>
#include <tiffio.h>
Include dependency graph for gsd_img_tif.c:

Go to the source code of this file.

Functions

int GS_write_tif (const char *name)
 Write data to tif file. More...
 

Variables

unsigned short config = PLANARCONFIG_CONTIG
 
unsigned short compression = -1
 
unsigned short rowsperstrip = 0
 

Detailed Description

OGSF library - TIFF stuff.

GRASS OpenGL gsurf OGSF Library

(C) 1999-2008 by 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.

Author
Bill Brown USACERL, GMSL/University of Illinois
Markus Neteler
Jaro Hofierka
Doxygenized by Martin Landa <landa.martin gmail.com> (May 2008)

Definition in file gsd_img_tif.c.

Function Documentation

int GS_write_tif ( const char *  name)

Write data to tif file.

Parameters
namefilename
Returns
1 on error
0 on success

Definition at line 51 of file gsd_img_tif.c.

References buf, config, G_free(), G_warning(), gsd_getimage(), NULL, rowsperstrip, and y.

Referenced by wxnviz.Nviz::SaveToFile().

Variable Documentation

unsigned short compression = -1

Definition at line 40 of file gsd_img_tif.c.

Referenced by G3d_fillHeader(), G3d_openCellNew(), and G3d_openCellOld().

unsigned short config = PLANARCONFIG_CONTIG

Definition at line 39 of file gsd_img_tif.c.

Referenced by GS_write_tif().

unsigned short rowsperstrip = 0

Definition at line 41 of file gsd_img_tif.c.

Referenced by GS_write_tif().