- Main Page
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

# TIFFWriter Class Reference

This class contains methods that write 8-bit color rgb images or float, double, 8-bit, or 16-bit grey images. More...

`#include <TIFFWriter.h>`

List of all members.

## Static Public Member Functions
static void | write_tiff_data8_rgb (uint8 *buff, int width, int height, FILE *fp, const bool use_clut, const int samples_per_pixel)
| Write a 24-bit color tiff image.
static void | write_tiff_float_grey (const float *const buff, const int width, const int height, const char *const fname)
| Write a grey tiff image using float data as input. Floats will be linearly scaled to 8 bit int data.
static void | write_tiff_double_grey (const double *const buff, const int width, const int height, const char *const fname)
| Write a grey tiff image using double data as input. Doubles will be linearly scaled to 8 bit int data.
static void | write_tiff_data8_grey (uint8 *buff, int width, int height, FILE *fp, const int samples_per_pixel)
| Write a grey tiff image using 8-bit data as input.
static void | write_tiff_data16 (uint16 *buff, int width, int height, FILE *fp)
| Write a grey tiff image using 16-bit data as input. Note: The output file will contain 16-bit data.

## Detailed Description

This class contains methods that write 8-bit color rgb images or float, double, 8-bit, or 16-bit grey images.

Note: For all these methods, either specify use_clut or samples_per_pixel (1=grey, 3=rgb).

The documentation for this class was generated from the following files:

- TIFFWriter.h
- TIFFWriter.cpp