Main Page   Modules   Compound List   File List   Compound Members   File Members  

tiff_io.h File Reference

#include <stdio.h>
#include <gandalf/common/misc_defs.h>
#include <gandalf/image/image_defs.h>

Go to the source code of this file.

Functions

Gan_Imagegan_read_tiff_image (const char *filename, Gan_Image *image)
 Reads an image file in TIFF format.

Gan_Bool gan_write_tiff_image (const char *filename, Gan_Image *image)
 Writes an image file in TIFF format.


Detailed Description

Module: TIFF format image file I/O functions

Part of: Gandalf Library

Revision: Last edited: Author:

Copyright: (c) 2000 Imagineer Software Limited

Note:
: Works with the libtiff library

Function Documentation

Gan_Image* gan_read_tiff_image const char *    filename,
Gan_Image   image
 

Reads an image file in TIFF format.

Parameters:
filename The name of the image file
image The image structure to read the image data into or NULL
Returns:
Pointer to image structure, or NULL on ailure.
Reads the TIFF image stored in the file filename into an image. If image is NULL a new image is dynamically allocated, otherwise the already allocated image structure is reused.

See also:
gan_write_tiff_image().

Gan_Bool gan_write_tiff_image const char *    filename,
Gan_Image   image
 

Writes an image file in TIFF format.

Parameters:
filename The name of the image file
image The image structure to write to the file
Returns:
GAN_TRUE on successful write operation, GAN_FALSE on failure.
Writes the image into a TIFF file filename.

See also:
gan_read_tiff_image().


Generated on Mon Oct 13 16:14:46 2003 by doxygen1.3-rc1