VAPOR3 3.9.4
TIFWriter.h
Go to the documentation of this file.
1#pragma once
2
3#include "vapor/ImageWriter.h"
4#ifdef WIN32
5 #include <tiff/tiffio.h>
6#else
7 #include <xtiffio.h>
8#endif
9
10namespace VAPoR {
16protected:
17 TIFF *tif;
18
20
21public:
22 static std::vector<std::string> GetFileExtensions();
23
24 TIFWriter(const std::string &path);
25 virtual ~TIFWriter();
26
27 virtual int Write(const unsigned char *buffer, const unsigned int width, const unsigned int height);
28};
29} // namespace VAPoR
Interface for image writers.
Definition: ImageWriter.h:15
Writes TIF image files.
Definition: TIFWriter.h:15
int ConfigureWithFormat(Format f)
virtual int Write(const unsigned char *buffer, const unsigned int width, const unsigned int height)
virtual ~TIFWriter()
static std::vector< std::string > GetFileExtensions()
TIFWriter(const std::string &path)
#define RENDER_API
Definition: common.h:78