#ifndef LIBJPEG_WRAPPER_H
#define LIBJPEG_WRAPPER_H
#ifdef __cplusplus
extern "C" {
#endif
struct ExifData {
char camera_make[64];
char camera_model[64];
char* software;
int iso_speed;
double shutter;
double aperture;
double focal_length;
int raw_width;
int raw_height;
int output_width;
int output_height;
int colors;
int color_filter;
double cam_mul[4];
char* date_taken;
char* lens;
double max_aperture;
int focal_length_35mm;
char* description;
char* artist;
};
int process_image_to_jpeg(const char* input_path, const char* output_path, ExifData& exif_data);
void free_buffer(unsigned char* buffer);
#ifdef __cplusplus
}
#endif
#endif