libcaesium/caesium/jpeg.h

19 lines
568 B
C
Raw Permalink Normal View History

2016-11-13 14:43:54 +01:00
#ifndef LIBCAESIUM_JPEG_H
#define LIBCAESIUM_JPEG_H
#include <jpeglib.h>
2016-11-15 09:47:09 +01:00
#include "caesium.h"
2016-11-13 14:43:54 +01:00
2017-06-03 12:22:23 +02:00
bool cs_jpeg_optimize(const char *input_file, const char *output_file, cs_jpeg_pars *options, const char *exif_src);
2016-11-13 14:43:54 +01:00
struct jpeg_decompress_struct cs_get_markers(const char *input);
2017-12-29 23:09:13 +01:00
int cs_jpeg_compress(const char *output_file, unsigned char *image_buffer, cs_jpeg_pars *options);
2016-11-13 14:43:54 +01:00
unsigned char *cs_jpeg_decompress(const char *fileName, cs_jpeg_pars *options);
void jcopy_markers_execute(j_decompress_ptr srcinfo, j_compress_ptr dstinfo);
#endif //LIBCAESIUM_JPEG_H