VAPOR3 3.9.4
PNGWriter.h
Go to the documentation of this file.
1#pragma once
2
3#include "vapor/ImageWriter.h"
4
5namespace VAPoR {
7protected:
8public:
9 PNGWriter(const string &path);
11
12 static std::vector<std::string> GetFileExtensions();
13 int Write(const unsigned char *buffer, const unsigned int width, const unsigned int height);
14};
15} // namespace VAPoR
Interface for image writers.
Definition: ImageWriter.h:15
static std::vector< std::string > GetFileExtensions()
int Write(const unsigned char *buffer, const unsigned int width, const unsigned int height)
PNGWriter(const string &path)
#define RENDER_API
Definition: common.h:78