https://bitbucket.org/daniel_fort/magic-lantern
Raw File
Tip revision: ff5be97b367ee22d47286c70ae8878ba7c8ebe40 authored by danne on 19 June 2018, 13:08:27 UTC
correct mlv_lite.c code
Tip revision: ff5be97
exiftool-bridge.h
#ifndef _EXIFTOOL_BRIDGE_H
#define _EXIFTOOL_BRIDGE_H

void copy_tags_from_source(const char* source, const char* dest);
const char * get_camera_model(const char* filename);

/*
This function uses EXIF information to calculate the following two ratios:
  Red balance is the ratio G/R for a neutral color (typically > 1)
  Blue balance is the ratio G/B for a neutral color (typically > 1)
Use only on dual ISO shots!
*/
void read_white_balance(const char* filename, float* red_balance, float* blue_balance);

void set_white_level(const char* file, int level);

void embed_original_raw(const char* dng_file, const char* raw_file, int delete_original);

int dng_has_original_raw(const char* dng_file);

int extract_original_raw(const char* dng_file, const char* raw_file);

void dng_backup_metadata(const char* dng_file);
void dng_restore_metadata(const char* dng_file);

#endif
back to top