VAPOR3
3.9.4
include
vapor
jpegapi.h
Go to the documentation of this file.
1
#ifndef JPEGAPI_H
2
#define JPEGAPI_H
3
/*
4
* This header defines the external api to the jpeg library.
5
*/
6
#include <
vapor/common.h
>
7
8
namespace
VAPoR
{
9
10
RENDER_API
int
write_JPEG_file
(FILE *file,
int
image_width,
int
image_height,
unsigned
char
*image_buffer,
int
quality);
11
12
RENDER_API
int
read_JPEG_file
(
const
char
*filename,
unsigned
char
**imageBuffer,
int
*width,
int
*height);
13
14
//(void) free_image(unsigned char* imageData);
15
16
};
// namespace VAPoR
17
18
#endif
// JPEGAPI_H
common.h
RENDER_API
#define RENDER_API
Definition:
common.h:78
VAPoR
Definition:
AnnotationParams.h:33
VAPoR::write_JPEG_file
RENDER_API int write_JPEG_file(FILE *file, int image_width, int image_height, unsigned char *image_buffer, int quality)
VAPoR::read_JPEG_file
RENDER_API int read_JPEG_file(const char *filename, unsigned char **imageBuffer, int *width, int *height)
Generated by
1.9.6