VAPOR3 3.9.4
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
8namespace VAPoR {
9
10RENDER_API int write_JPEG_file(FILE *file, int image_width, int image_height, unsigned char *image_buffer, int quality);
11
12RENDER_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
#define RENDER_API
Definition: common.h:78
RENDER_API int write_JPEG_file(FILE *file, int image_width, int image_height, unsigned char *image_buffer, int quality)
RENDER_API int read_JPEG_file(const char *filename, unsigned char **imageBuffer, int *width, int *height)