17#ifndef MVE_IMAGEEXIF_HEADER
18#define MVE_IMAGEEXIF_HEADER
97exif_extract (
char const* data, std::size_t len,
bool is_jpeg =
false);
104 bool indent =
false);
109ExifInfo::ExifInfo (
void)
111 , bits_per_sample(-1)
113 , focal_length(-1.0f)
114 , focal_length_35mm(-1.0f)
116 , exposure_time(-1.0f)
117 , exposure_bias(0.0f)
118 , shutter_speed(-1.0f)
#define MVE_IMAGE_NAMESPACE_END
#define MVE_NAMESPACE_BEGIN
#define MVE_IMAGE_NAMESPACE_BEGIN
#define MVE_NAMESPACE_END
ExifInfo exif_extract(char const *data, std::size_t len, bool is_jpeg)
Function to extract a (selected) EXIF tags from binary data.
void exif_debug_print(std::ostream &stream, ExifInfo const &exif, bool indent)
Prints the EXIF information to stream.
std::string copyright
Copyright information.
std::string camera_maker
Camera manufacturer.
int iso_speed
Camera ISO speed rating for the image.
int image_width
EXIF image width.
int orientation
Orientation of the image:
float shutter_speed
Image shutter speed in seconds.
float focal_length_35mm
Focal length equivalent for 35mm film.
std::string camera_model
Camera model.
std::string artist
Artist information.
int flash_mode
Flash mode (see http://tinyurl.com/o7pawes).
float f_number
F-number in 1/f.
float focal_length
Focal length of the image in mm, relative to sensor size.
float exposure_time
Image exposure time in seconds.
std::string description
Description of the image.
int bits_per_sample
Bits per sample.
std::string date_original
Date/time string of original image.
std::string software
Software used to process the image.
std::string date_modified
Date/time string of last modification.
float exposure_bias
Image exposure bias in F-stops.
int image_height
EXIF image height.