- Main Page
- Classes
- Files

- File List
- File Members

# TIFFWriter.cpp File Reference

`#include <assert.h>`
`#include <float.h>`
`#include <stdio.h>`
`#include "TIFFWriter.h"`

## Defines
#define | ImageWidth 256
#define | ImageLength 257
#define | BitsPerSample 258
#define | Compression 259
#define | PhotometricInterpretation 262
#define | StripOffsets 273
#define | SamplesPerPixel 277
#define | RowsPerStrip 278
#define | StripByteCounts 279
#define | XResolution 282
#define | YResolution 283
#define | ResolutionUnit 296
#define | BYTE 1
#define | ASCII 2
#define | SHORT 3
#define | LONG 4
#define | RATIONAL 5
## Variables
CLUT | clut
struct {
uint16 tag
uint16 type
uint32 count
union {
uint16 sval
uint32 ival
uint32 offset
} v
} | entry

## Detailed Description

This file contains code that will output a TIFF image file.

Author:
  George J. Grevera, Ph.D., ggrevera@sju.edu

Copyright (C) 2002, George J. Grevera

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or from http://www.gnu.org/licenses/gpl.txt.

This General Public License does not permit incorporating this code into proprietary programs. (So a hypothetical company such as GH (Generally Hectic) should NOT incorporate this code into their proprietary programs.)