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