VAPOR3
3.9.4
include
vapor
JPGWriter.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
vapor/ImageWriter.h
"
4
#include <stdio.h>
5
6
namespace
VAPoR
{
7
class
RENDER_API
JPGWriter
:
public
ImageWriter
{
8
FILE *fp;
9
10
public
:
11
static
int
DefaultQuality
;
12
int
Quality
;
13
14
JPGWriter
(
const
std::string &path);
15
~JPGWriter
();
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
ImageWriter.h
VAPoR::ImageWriter
Interface for image writers.
Definition:
ImageWriter.h:15
VAPoR::JPGWriter
Definition:
JPGWriter.h:7
VAPoR::JPGWriter::DefaultQuality
static int DefaultQuality
Definition:
JPGWriter.h:11
VAPoR::JPGWriter::GetFileExtensions
static std::vector< std::string > GetFileExtensions()
VAPoR::JPGWriter::~JPGWriter
~JPGWriter()
VAPoR::JPGWriter::Write
int Write(const unsigned char *buffer, const unsigned int width, const unsigned int height)
VAPoR::JPGWriter::JPGWriter
JPGWriter(const std::string &path)
VAPoR::JPGWriter::Quality
int Quality
Definition:
JPGWriter.h:12
RENDER_API
#define RENDER_API
Definition:
common.h:78
VAPoR
Definition:
AnnotationParams.h:33
Generated by
1.9.6