/*************************************************************************/ /* */ /* Copyright (c) 1994 Stanford University */ /* */ /* All rights reserved. */ /* */ /* Permission is given to use, copy, and modify this software for any */ /* non-commercial purpose as long as this copyright notice is not */ /* removed. All other uses, including redistribution in whole or in */ /* part, are forbidden without prior written permission. */ /* */ /* This software is provided with absolutely no warranty and no */ /* support. */ /* */ /*************************************************************************/ /******** * * tiff_rgba_io.h * * Description: * Describes the functions defined in tiff_gl_io.c. * * *********/ #ifndef _TIFF_RGBA_IO_ #define _TIFF_RGBA_IO_ #ifdef __cplusplus extern "C" { #endif /****** * * tiff_save_image * * Arguments: * char *filename - name of TIFF image target file * long *pixels - 32-bit r,g,b,a image * long width - image width * long height - image height * * Description: * Stores the pixels into the given file name as a TIFF file. * ******/ long tiff_save_rgba(char *, long *, long, long); /****** * * tiff_save_gl_canvas * * Arguments: * char *filename - name of TIFF image target file * long **pixels - 32-bit r,g,b,a image * long *width - image width * long *height - image height * * Description: * Loads the pixels from the named TIFF file. * ******/ long tiff_load_rgba(char *, long **, long *, long *); #ifdef __cplusplus } #endif #endif