 |
Exiv2
|
Go to the documentation of this file.
171 imgStruct, recOffset, imgCharacter, otherTags, exifFormat,
172 exifVersion, imgConfig, userInfo, relatedFile, dateTime,
173 captureCond, gpsTags, iopTags, mpfTags, makerTags, dngTags, panaRaw,
174 tiffEp, tiffPm6, adobeOpi,
227 template <
int N, const TagDetails (&array)[N]>
235 os <<
"(" << value <<
")";
241 #define EXV_PRINT_TAG(array) printTag<EXV_COUNTOF(array), array>
247 template <
int N, const TagDetailsBitmask (&array)[N]>
250 const uint32_t val =
static_cast<uint32_t
>(value.
toLong());
251 if (val == 0 && N > 0) {
256 for (
int i = 0; i < N; ++i) {
260 if (val & td->
mask_) {
274 #define EXV_PRINT_TAG_BITMASK(array) printTagBitmask<EXV_COUNTOF(array), array>
280 template <
int N, const TagVocabulary (&array)[N]>
288 os <<
"(" << value <<
")";
294 #define EXV_PRINT_VOCABULARY(array) printTagVocabulary<EXV_COUNTOF(array), array>
312 const GroupInfo* groupList();
346 std::ostream&
printValue(std::ostream& os,
const Value& value,
const ExifData*);
349 std::ostream&
printLong(std::ostream& os,
const Value& value,
const ExifData*);
351 std::ostream&
printFloat(std::ostream& os,
const Value& value,
const ExifData*);
353 std::ostream&
printDegrees(std::ostream& os,
const Value& value,
const ExifData*);
355 std::ostream&
printUcs2(std::ostream& os,
const Value& value,
const ExifData*);
357 std::ostream&
printExifUnit(std::ostream& os,
const Value& value,
const ExifData*);
359 std::ostream&
print0x0000(std::ostream& os,
const Value& value,
const ExifData*);
361 std::ostream&
print0x0005(std::ostream& os,
const Value& value,
const ExifData*);
363 std::ostream&
print0x0006(std::ostream& os,
const Value& value,
const ExifData*);
365 std::ostream&
print0x0007(std::ostream& os,
const Value& value,
const ExifData*);
367 std::ostream&
print0x0009(std::ostream& os,
const Value& value,
const ExifData*);
369 std::ostream&
print0x000a(std::ostream& os,
const Value& value,
const ExifData*);
371 std::ostream&
print0x000c(std::ostream& os,
const Value& value,
const ExifData*);
373 std::ostream&
print0x0019(std::ostream& os,
const Value& value,
const ExifData*);
375 std::ostream&
print0x001e(std::ostream& os,
const Value& value,
const ExifData*);
377 std::ostream&
print0x0112(std::ostream& os,
const Value& value,
const ExifData*);
379 std::ostream&
print0x0213(std::ostream& os,
const Value& value,
const ExifData*);
381 std::ostream&
print0x8298(std::ostream& os,
const Value& value,
const ExifData*);
383 std::ostream&
print0x829a(std::ostream& os,
const Value& value,
const ExifData*);
385 std::ostream&
print0x829d(std::ostream& os,
const Value& value,
const ExifData*);
387 std::ostream&
print0x8822(std::ostream& os,
const Value& value,
const ExifData*);
389 std::ostream&
print0x8827(std::ostream& os,
const Value& value,
const ExifData*);
391 std::ostream&
print0x9101(std::ostream& os,
const Value& value,
const ExifData*);
393 std::ostream&
print0x9201(std::ostream& os,
const Value& value,
const ExifData*);
395 std::ostream&
print0x9202(std::ostream& os,
const Value& value,
const ExifData*);
397 std::ostream&
print0x9204(std::ostream& os,
const Value& value,
const ExifData*);
399 std::ostream&
print0x9206(std::ostream& os,
const Value& value,
const ExifData*);
401 std::ostream&
print0x9207(std::ostream& os,
const Value& value,
const ExifData*);
403 std::ostream&
print0x9208(std::ostream& os,
const Value& value,
const ExifData*);
405 std::ostream&
print0x920a(std::ostream& os,
const Value& value,
const ExifData*);
407 std::ostream&
print0x9286(std::ostream& os,
const Value& value,
const ExifData*);
409 std::ostream&
print0xa001(std::ostream& os,
const Value& value,
const ExifData*);
411 std::ostream&
print0xa217(std::ostream& os,
const Value& value,
const ExifData*);
413 std::ostream&
print0xa300(std::ostream& os,
const Value& value,
const ExifData*);
415 std::ostream&
print0xa301(std::ostream& os,
const Value& value,
const ExifData*);
417 std::ostream&
print0xa401(std::ostream& os,
const Value& value,
const ExifData*);
419 std::ostream&
print0xa402(std::ostream& os,
const Value& value,
const ExifData*);
421 std::ostream&
print0xa403(std::ostream& os,
const Value& value,
const ExifData*);
423 std::ostream&
print0xa404(std::ostream& os,
const Value& value,
const ExifData*);
425 std::ostream&
print0xa405(std::ostream& os,
const Value& value,
const ExifData*);
427 std::ostream&
print0xa406(std::ostream& os,
const Value& value,
const ExifData*);
429 std::ostream&
print0xa407(std::ostream& os,
const Value& value,
const ExifData*);
431 std::ostream&
print0xa409(std::ostream& os,
const Value& value,
const ExifData*);
433 std::ostream&
print0xa40c(std::ostream& os,
const Value& value,
const ExifData*);
435 std::ostream&
printGPSDirRef(std::ostream& os,
const Value& value,
const ExifData*);
439 std::ostream&
printExifVersion(std::ostream& os,
const Value& value,
const ExifData*);
441 std::ostream&
printXmpVersion(std::ostream& os,
const Value& value,
const ExifData*);
443 std::ostream&
printXmpDate(std::ostream& os,
const Value& value,
const ExifData*);
447 float fnumber(
float apertureValue);
454 #endif // #ifndef TAGS_INT_HPP_
static const TagInfo * tagListRd2()
Return read-only list of built-in Olympus Raw Development 2 tags.
Definition: olympusmn_int.cpp:918
static const TagInfo * tagListCb2a()
Return read-only list of built-in Color Balance 2a tags.
Definition: nikonmn_int.cpp:1354
const TagDetails exifColorSpace[]
ColorSpace, tag 0xa001.
Pentax MakerNote implemented according to the specification http://www.gvsoft.homedns....
std::ostream & print0x0007(std::ostream &os, const Value &value, const ExifData *)
Print GPS timestamp.
Definition: tags_int.cpp:2312
const char * name_
Section name (one word)
Definition: tags_int.hpp:180
Helper structure for lookup tables for translations of numeric tag values to human readable labels.
Definition: tags_int.hpp:188
std::ostream & print0x8827(std::ostream &os, const Value &value, const ExifData *)
Print ISO speed ratings.
Definition: tags_int.cpp:2467
const TagDetails exifInkSet[]
InkSet, tag 0x014c.
static const TagInfo * tagListCf()
Return read-only list of built-in Canon Custom Function tags.
Definition: canonmn_int.cpp:1410
const TagDetails exifSubfileType[]
SubfileType, TIFF tag 0x00ff.
std::ostream & print0x0009(std::ostream &os, const Value &value, const ExifData *metadata)
Print GPS status.
Definition: tags_int.cpp:2348
static const TagInfo * tagListFe()
Return read-only list of built-in Olympus FE tags.
Definition: olympusmn_int.cpp:1045
static const TagInfo * tagList()
Return read-only list of built-in Pentaxfilm tags.
Definition: pentaxmn_int.cpp:1704
std::ostream & printXmpVersion(std::ostream &os, const Value &value, const ExifData *)
Print any version encoded in the ASCII string majormajorminorminor.
Definition: tags_int.cpp:2849
Olympus makernote tags. References: [1] Exif file format, Appendix 1: MakerNote of Olympus Digicams ...
byte * pData_
Pointer to the buffer, 0 if none has been allocated.
Definition: types.hpp:269
Nikon makernote tags. References: [1] MakerNote EXIF Tag of the Nikon 990 by Max Lyons [2] Exif fil...
const TagDetails exifSceneType[]
SceneType, tag 0xa301.
@ tiffFloat
TIFF FLOAT type, single precision (4-byte) IEEE format.
Definition: types.hpp:141
std::ostream & print0x9208(std::ostream &os, const Value &value, const ExifData *metadata)
Print light source.
Definition: tags_int.cpp:2607
void taglist(std::ostream &os, IfdId ifdId)
Print the list of tags for ifdId to the output stream os.
Definition: tags_int.cpp:2098
std::ostream & print0x829a(std::ostream &os, const Value &value, const ExifData *)
Print the exposure time.
Definition: tags_int.cpp:2408
static const TagInfo * tagList()
Return read-only list of built-in Sony tags.
Definition: sonymn_int.cpp:496
const TagDetails exifSampleFormat[]
SampleFormat, tag 0x0153.
TagListFct tagList_
Tag list.
Definition: tags.hpp:72
static const TagInfo * tagListSi1()
Return read-only list of built-in Shot Info D80 tags.
Definition: nikonmn_int.cpp:1146
virtual Rational toRational(long n=0) const =0
Convert the n-th component of the value to a Rational. The behaviour of this method may be undefined ...
virtual long size() const =0
Return the size of the value in bytes.
Common interface for all types of values used with metadata.
Definition: value.hpp:60
const TagDetails exifPhotometricInterpretation[]
PhotometricInterpretation, tag 0x0106.
static const TagInfo * tagList()
Return read-only list of built-in Canon tags.
Definition: canonmn_int.cpp:450
Internal::enable_if< Internal::is_signed< T >::VALUE, T >::type abs(T num)
Calculates the absolute value of a number without producing negative values.
Definition: safe_op.hpp:327
int ifdId_
IFD id.
Definition: tags.hpp:69
URational exposureTime(float shutterSpeedValue)
Calculate the exposure time from an APEX shutter speed value.
Definition: tags_int.cpp:2172
static const TagInfo * tagListFl1()
Return read-only list of built-in Flash Info 1 tags.
Definition: nikonmn_int.cpp:1093
const TagDetails exifUnit[]
Units for measuring X and Y resolution, tags 0x0128, 0xa210.
const TagDetails exifExposureProgram[]
ExposureProgram, tag 0x8822.
static const TagInfo * tagList()
Return read-only list of built-in Casio2 tags.
Definition: casiomn_int.cpp:538
std::ostream & print0xa40c(std::ostream &os, const Value &value, const ExifData *metadata)
Print subject distance range.
Definition: tags_int.cpp:2806
const char * ifdName_
IFD name.
Definition: tags.hpp:70
IfdId
Type to specify the IFD to which a metadata belongs.
Definition: tags_int.hpp:54
const TagDetails exifGPSDirRef[]
GPS direction ref, tags 0x000e, 0x0010, 0x0017.
Type definitions for Exiv2 and related functionality.
Sigma and Foveon MakerNote implemented according to the specification SIGMA and FOVEON EXIF MakerNote...
static const TagInfo * tagListCsStd()
Return read-only list of built-in Minolta Standard Camera Settings tags.
Definition: minoltamn_int.cpp:646
@ undefined
Exif UNDEFINED type, an 8-bit byte that may contain anything.
Definition: types.hpp:137
TypeId typeId() const
Return the type identifier (Exif data format type).
Definition: value.hpp:113
The details of an Exif group. Groups include IFDs and binary arrays.
Definition: tags.hpp:65
static const TagInfo * tagListAf22()
Return read-only list of built-in Auto Focus 2 tags.
Definition: nikonmn_int.cpp:934
std::ostream & printNormalSoftHard(std::ostream &os, const Value &value, const ExifData *metadata)
Print contrast, sharpness (normal, soft, hard)
Definition: tags_int.cpp:2829
static const TagInfo * tagListPw()
Return read-only list of built-in PictureWizard tags.
Definition: samsungmn_int.cpp:200
Minolta MakerNote implemented using the following references: Minolta Makernote Format Specification...
std::ostream & printLong(std::ostream &os, const Value &value, const ExifData *)
Print the value converted to a long.
Definition: tags_int.cpp:2196
const TagDetails exifGPSStatus[]
GPS status, tag 0x0009.
const TagDetails exifGPSDestDistanceRef[]
GPS Destination distance ref, tag 0x0019.
const TagDetails exifSensingMethod[]
SensingMethod, tag 0xa217.
static const TagInfo * tagListCb1()
Return read-only list of built-in Color Balance 1 tags.
Definition: nikonmn_int.cpp:1328
static const TagInfo * tagList()
Return read-only list of built-in Minolta tags.
Definition: minoltamn_int.cpp:192
@ signedShort
Exif SSHORT type, a 16-bit (2-byte) signed (twos-complement) integer.
Definition: types.hpp:138
@ comment
Exiv2 type for the Exif user comment.
Definition: types.hpp:150
const TagInfo * tagList(IfdId ifdId)
Return the tag list for ifdId.
Definition: tags_int.cpp:2108
const EXIV2API char * exvGettext(const char *str)
Translate a string using the gettext framework. This wrapper hides all the implementation details fro...
Definition: types.cpp:576
static const TagInfo * tagList()
Return read-only list of built-in Panasonic tags.
Definition: panasonicmn_int.cpp:541
@ asciiString
Exif ASCII type, 8-bit byte.
Definition: types.hpp:132
static const TagInfo * tagListCs7D()
Return read-only list of built-in Minolta 7D Camera Settings tags.
Definition: minoltamn_int.cpp:826
std::ostream & print0x9202(std::ostream &os, const Value &value, const ExifData *)
Print f-number converted from APEX aperture value.
Definition: tags_int.cpp:2503
const char * groupName_
Group name, unique for each group.
Definition: tags.hpp:71
const TagDetails exifSceneCaptureType[]
SceneCaptureType, tag 0xa406.
static const TagInfo * tagListEq()
Return read-only list of built-in Olympus Equipment tags.
Definition: olympusmn_int.cpp:780
const TagInfo * mnTagList()
Return read-only list of built-in Exiv2 Makernote info tags.
Definition: tags_int.cpp:2053
Helper structure for lookup tables for translations of controlled vocabulary strings to their descrip...
Definition: tags_int.hpp:209
std::ostream & print0x8822(std::ostream &os, const Value &value, const ExifData *metadata)
Print exposure program.
Definition: tags_int.cpp:2462
static const TagInfo * tagListSi4()
Return read-only list of built-in Shot Info D300 (b) tags.
Definition: nikonmn_int.cpp:1280
EXIV2API bool isHex(const std::string &str, size_t size=0, const std::string &prefix="")
Return true if str is a hex number starting with prefix followed by size hex digits,...
Definition: types.cpp:543
const TagInfo * iopTagList()
Return read-only list of built-in IOP tags.
Definition: tags_int.cpp:2034
std::ostream & print0x9286(std::ostream &os, const Value &value, const ExifData *)
Print the user comment.
Definition: tags_int.cpp:2631
virtual long count() const =0
Return the number of components of the value.
std::ostream & printFloat(std::ostream &os, const Value &value, const ExifData *)
Print a Rational or URational value in floating point format.
Definition: tags_int.cpp:2203
static const TagInfo * tagList()
Return read-only list of built-in Samsung tags.
Definition: samsungmn_int.cpp:145
int64_t val_
Tag value.
Definition: tags_int.hpp:189
std::ostream & printDegrees(std::ostream &os, const Value &value, const ExifData *)
Print a longitude or latitude value.
Definition: tags_int.cpp:2210
std::ostream & print0x0019(std::ostream &os, const Value &value, const ExifData *metadata)
Print GPS destination distance ref.
Definition: tags_int.cpp:2363
@ unsignedLong
Exif LONG type, 32-bit (4-byte) unsigned integer.
Definition: types.hpp:134
@ tiffDouble
TIFF DOUBLE type, double precision (8-byte) IEEE format.
Definition: types.hpp:142
const TagDetails exifPredictor[]
Predictor, tag 0x013d.
std::ostream & print0xa404(std::ostream &os, const Value &value, const ExifData *)
Print digital zoom ratio.
Definition: tags_int.cpp:2727
Samsung makernote tags. References: [1] ExifTool by Phil Harvey.
const TagDetails exifLightSource[]
LightSource, tag 0x9208.
std::ostream & printTag(std::ostream &os, const Value &value, const ExifData *)
Generic pretty-print function to translate a long value to a description by looking up a reference ta...
Definition: tags_int.hpp:228
std::ostream & printXmpDate(std::ostream &os, const Value &value, const ExifData *)
Print a date following the format YYYY-MM-DDTHH:MM:SSZ.
Definition: tags_int.cpp:2858
static const TagInfo * tagListCs()
Return read-only list of built-in Olympus Camera Settings tags.
Definition: olympusmn_int.cpp:723
const TagDetails exifMeteringMode[]
MeteringMode, tag 0x9207.
static const TagInfo * tagListAFT()
Return read-only list of built-in AF Fine Tune tags.
Definition: nikonmn_int.cpp:763
static const TagInfo * tagList()
Return read-only list of built-in Nikon1 tags.
Definition: nikonmn_int.cpp:264
const TagDetails exifYCbCrPositioning[]
YCbCrPositioning, tag 0x0213.
const char * groupName(IfdId ifdId)
Return the group name for a group id.
Definition: tags_int.cpp:2155
Canon makernote tags. References: [1] EXIF MakerNote of Canon by David Burren [2] Canon makernote t...
bool operator==(long key) const
Comparison operator for use with the find template.
Definition: tags_int.hpp:193
SectionId
Section identifiers to logically group tags. A section consists of nothing more than a name,...
Definition: tags_int.hpp:170
Helper structure for lookup tables for translations of bitmask values to human readable labels.
Definition: tags_int.hpp:200
std::ostream & print0x001e(std::ostream &os, const Value &value, const ExifData *metadata)
Print GPS differential correction.
Definition: tags_int.cpp:2368
virtual float toFloat(long n=0) const =0
Convert the n-th component of the value to a float. The behaviour of this method may be undefined if ...
std::ostream & print0x0006(std::ostream &os, const Value &value, const ExifData *)
Print GPS altitude.
Definition: tags_int.cpp:2297
static const TagInfo * tagList()
Return read-only list of built-in Nikon2 tags.
Definition: nikonmn_int.cpp:526
@ unsignedRational
Exif RATIONAL type, two LONGs: numerator and denumerator of a fraction.
Definition: types.hpp:135
bool operator==(const std::string &key) const
Comparison operator for use with the find template.
Definition: tags.cpp:98
EXIV2API bool convertStringCharset(std::string &str, const char *from, const char *to)
Convert character encoding of str from from to to. If the function succeeds, str contains the result ...
Definition: convert.cpp:1351
static const TagInfo * tagList()
Return read-only list of built-in Sigma tags.
Definition: sigmamn_int.cpp:125
std::ostream & printGPSDirRef(std::ostream &os, const Value &value, const ExifData *metadata)
Print GPS direction ref.
Definition: tags_int.cpp:2817
std::ostream & print0xa402(std::ostream &os, const Value &value, const ExifData *metadata)
Print exposure mode.
Definition: tags_int.cpp:2711
std::ostream & print0xa407(std::ostream &os, const Value &value, const ExifData *metadata)
Print gain control.
Definition: tags_int.cpp:2780
const TagDetails exifGPSLongitudeRef[]
GPS longitude reference, tag 0x0003; also GPSDestLongitudeRef, tag 0x0015.
static const TagInfo * tagListMe()
Return read-only list of built-in Multi Exposure tags.
Definition: nikonmn_int.cpp:971
static const TagInfo * tagListCb4()
Return read-only list of built-in Color Balance 4 tags.
Definition: nikonmn_int.cpp:1393
static const TagInfo * tagListCs2()
Return read-only list of built-in Sony Standard Camera Settings version 2 tags.
Definition: sonymn_int.cpp:794
static const TagInfo * tagListFi()
Return read-only list of built-in File Info tags.
Definition: nikonmn_int.cpp:949
std::ostream & print0x0112(std::ostream &os, const Value &value, const ExifData *metadata)
Print orientation.
Definition: tags_int.cpp:2373
static const TagInfo * tagList()
Return read-only list of built-in Olympus tags.
Definition: olympusmn_int.cpp:469
std::ostream & print0x0000(std::ostream &os, const Value &value, const ExifData *)
Print GPS version.
Definition: tags_int.cpp:2277
static const TagInfo * tagListCsA100()
Return read-only list of built-in Sony A100 Camera Settings tags.
Definition: minoltamn_int.cpp:1596
static const TagInfo * tagListPr()
Return read-only list of built-in Canon Processing Info tags.
Definition: canonmn_int.cpp:1609
static const TagInfo * tagListRd()
Return read-only list of built-in Olympus Raw Development tags.
Definition: olympusmn_int.cpp:839
static const TagInfo * tagListFl2()
Return read-only list of built-in Flash Info 2 tags.
Definition: nikonmn_int.cpp:1113
Utility class containing a character array. All it does is to take care of memory allocation and dele...
Definition: types.hpp:204
@ unsignedByte
Exif BYTE type, 8-bit unsigned integer.
Definition: types.hpp:131
The details of a section.
Definition: tags_int.hpp:178
std::ostream & printValue(std::ostream &os, const Value &value, const ExifData *)
Default print function, using the Value output operator.
Definition: tags_int.cpp:2162
static const TagInfo * tagList()
Return read-only list of built-in Fujifilm tags.
Definition: fujimn_int.cpp:291
std::string toString() const
Return the value as a string. Implemented in terms of write(std::ostream& os) const of the concrete c...
Definition: value.cpp:175
std::ostream & print0x9206(std::ostream &os, const Value &value, const ExifData *)
Print the subject distance.
Definition: tags_int.cpp:2539
std::ostream & print0x000c(std::ostream &os, const Value &value, const ExifData *metadata)
Print GPS speed ref.
Definition: tags_int.cpp:2358
static const TagInfo * tagListTi()
Return read-only list of built-in Canon Time Info tags.
Definition: canonmn_int.cpp:1664
std::ostream & printTagVocabulary(std::ostream &os, const Value &value, const ExifData *)
Generic pretty-print function to translate a controlled vocabulary value (string) to a description by...
Definition: tags_int.hpp:281
long size_
The current size of the buffer.
Definition: types.hpp:271
const char * label_
Translation of the tag value.
Definition: tags_int.hpp:190
static const TagInfo * tagListCb3()
Return read-only list of built-in Color Balance 3 tags.
Definition: nikonmn_int.cpp:1380
const T * find(T(&src)[N], const K &key)
Find an element that matches key in the array src.
Definition: types.hpp:508
const TagDetails exifSaturation[]
Saturation, tag 0xa409.
std::ostream & print0x000a(std::ostream &os, const Value &value, const ExifData *metadata)
Print GPS measurement mode.
Definition: tags_int.cpp:2353
const char * ifdName(IfdId ifdId)
Return the name of the IFD.
Definition: tags_int.cpp:2148
static const TagInfo * tagListSi()
Return read-only list of built-in Canon Shot Info tags.
Definition: canonmn_int.cpp:1362
std::ostream & print0x9204(std::ostream &os, const Value &value, const ExifData *)
Print the exposure bias value.
Definition: tags_int.cpp:2518
virtual long toLong(long n=0) const =0
Convert the n-th component of the value to a long. The behaviour of this method may be undefined if t...
static const TagInfo * tagList()
Return read-only list of built-in Nikon3 tags.
Definition: nikonmn_int.cpp:654
@ unsignedShort
Exif SHORT type, 16-bit (2-byte) unsigned integer.
Definition: types.hpp:133
static const TagInfo * tagListIp()
Return read-only list of built-in Olympus Image Processing tags.
Definition: olympusmn_int.cpp:999
virtual long copy(byte *buf, ByteOrder byteOrder) const =0
Write value to a data buffer.
bool isMakerIfd(IfdId ifdId)
Return true if ifdId is a makernote IFD id. (Note: returns false for makerIfd)
Definition: tags_int.cpp:2060
static const TagInfo * tagListCb2b()
Return read-only list of built-in Color Balance 2b tags.
Definition: nikonmn_int.cpp:1367
uint16_t tagNumber(const std::string &tagName, IfdId ifdId)
Return the tag number for one combination of IFD id and tagName. If the tagName is not known,...
Definition: tags_int.cpp:2185
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition: asfvideo.hpp:36
const TagInfo * mpfTagList()
Return read-only list of built-in mfp Tags http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/MPF....
Definition: tags_int.cpp:2001
const char * voc_
Vocabulary string.
Definition: tags_int.hpp:210
std::pair< int32_t, int32_t > Rational
8 byte signed rational type.
Definition: types.hpp:110
uint32_t mask_
Bitmask value.
Definition: tags_int.hpp:201
static const TagInfo * tagListAf()
Return read-only list of built-in Auto Focus tags.
Definition: nikonmn_int.cpp:875
Value interface and concrete subclasses.
Exif and IPTC conversions to and from XMP.
static const TagInfo * tagListSi5()
Return read-only list of built-in Shot Info tags.
Definition: nikonmn_int.cpp:1315
const TagDetails exifWhiteBalance[]
WhiteBalance, tag 0xa403.
const TagDetails exifGPSMeasureMode[]
GPS measurement mode, tag 0x000a.
static const TagInfo * tagListFl3()
Return read-only list of built-in Flash Info 3 tags.
Definition: nikonmn_int.cpp:1133
@ signedRational
Exif SRATIONAL type, two SLONGs: numerator and denumerator of a fraction.
Definition: types.hpp:140
static const TagInfo * tagListSi2()
Return read-only list of built-in Shot Info D40 tags.
Definition: nikonmn_int.cpp:1160
const TagDetails exifIndexed[]
Indexed, tag 0x015a.
Tag information.
Definition: tags.hpp:82
static const TagInfo * tagListPc()
Return read-only list of built-in Picture Control tags.
Definition: nikonmn_int.cpp:742
const TagDetails exifNormalSoftHard[]
Contrast, tag 0xa408 and Sharpness, tag 0xa40a.
const TagInfo * exifTagList()
Return read-only list of built-in Exif IFD tags.
Definition: tags_int.cpp:1757
const TagDetails exifCustomRendered[]
CustomRendered, tag 0xa401.
const GroupInfo groupInfo[]
List of all known Exif groups. Important: Group name (3rd column) must be unique!
static const TagInfo * tagListVr()
Return read-only list of built-in Vibration Reduction tags.
Definition: nikonmn_int.cpp:686
std::ostream & print0x9201(std::ostream &os, const Value &value, const ExifData *)
Print exposure time converted from APEX shutter speed value.
Definition: tags_int.cpp:2490
const TagDetails exifCompression[]
Compression, tag 0x0103.
const TagDetails exifGPSLatitudeRef[]
GPS latitude reference, tag 0x0001; also GPSDestLatitudeRef, tag 0x0013.
const TagInfo * gpsTagList()
Return read-only list of built-in GPS tags.
Definition: tags_int.cpp:1931
const TagDetails exifJpegLosslessPredictor[]
exifJpegLosslessPredictor, tag 0x0205
const TagDetails exifOrientation[]
Orientation, tag 0x0112.
Sony MakerNote implemented using the following references: Sony Makernote list by Phil Harvey Email...
std::ostream & print0xa406(std::ostream &os, const Value &value, const ExifData *metadata)
Print scene capture type.
Definition: tags_int.cpp:2766
std::ostream & print0x9101(std::ostream &os, const Value &value, const ExifData *)
Print components configuration specific to compressed data.
Definition: tags_int.cpp:2472
static const TagInfo * tagListFi()
Return read-only list of built-in Canon File Info tags.
Definition: canonmn_int.cpp:1543
static const TagInfo * tagListCs()
Return read-only list of built-in Sony Standard Camera Settings tags.
Definition: sonymn_int.cpp:730
std::ostream & print0x8298(std::ostream &os, const Value &value, const ExifData *)
Print the copyright.
Definition: tags_int.cpp:2388
std::ostream & print0xa217(std::ostream &os, const Value &value, const ExifData *metadata)
Print sensing method.
Definition: tags_int.cpp:2666
static const TagInfo * tagListRaw()
Return read-only list of built-in Panasonic RAW image tags (IFD0)
Definition: panasonicmn_int.cpp:761
const TagInfo * ifdTagList()
Return read-only list of built-in IFD0/1 tags.
Definition: tags_int.cpp:1428
std::ostream & print0xa401(std::ostream &os, const Value &value, const ExifData *metadata)
Print custom rendered.
Definition: tags_int.cpp:2699
std::ostream & print0xa409(std::ostream &os, const Value &value, const ExifData *metadata)
Print saturation.
Definition: tags_int.cpp:2792
const TagDetails exifGPSAltitudeRef[]
GPS altitude reference, tag 0x0005.
std::ostream & print0x0213(std::ostream &os, const Value &value, const ExifData *metadata)
Print YCbCrPositioning.
Definition: tags_int.cpp:2383
std::ostream & printTagBitmask(std::ostream &os, const Value &value, const ExifData *)
Generic print function to translate a long value to a description by looking up bitmasks in a referen...
Definition: tags_int.hpp:248
const TagDetails exifGPSDifferential[]
GPS Differential, tag 0x001e.
std::ostream & print0x829d(std::ostream &os, const Value &value, const ExifData *)
Print the f-number.
Definition: tags_int.cpp:2431
IntType gcd(IntType n, IntType m)
Return the greatest common denominator of n and m. (Implementation from Boost rational....
Definition: types.hpp:570
static const TagInfo * tagListCs5D()
Return read-only list of built-in Minolta 5D Camera Settings tags.
Definition: minoltamn_int.cpp:1091
const TagInfo * tagInfo(uint16_t tag, IfdId ifdId)
Return the tag info for tag and ifdId.
Definition: tags_int.cpp:2115
std::pair< uint32_t, uint32_t > URational
8 byte unsigned rational type.
Definition: types.hpp:108
const TagDetails exifFileSource[]
FileSource, tag 0xa300.
const TagDetails exifGainControl[]
GainControl, tag 0xa407.
static const TagInfo * tagListCs()
Return read-only list of built-in Canon Camera Settings tags.
Definition: canonmn_int.cpp:1271
BasicError< char > Error
Error class used for exceptions (std::string based)
Definition: error.hpp:324
const TagDetails exifThresholding[]
Thresholding, tag 0x0107.
static const TagInfo * tagListPa()
Return read-only list of built-in Canon Panorama tags.
Definition: canonmn_int.cpp:1384
static const TagInfo * tagListPi()
Return read-only list of built-in Canon Picture Info tags.
Definition: canonmn_int.cpp:1451
std::ostream & print0x0005(std::ostream &os, const Value &value, const ExifData *metadata)
Print GPS altitude ref.
Definition: tags_int.cpp:2292
const TagDetails exifExposureMode[]
ExposureMode, tag 0xa402.
@ xmpText
XMP text type.
Definition: types.hpp:152
static const TagInfo * tagListCb2()
Return read-only list of built-in Color Balance 2 tags.
Definition: nikonmn_int.cpp:1341
Panasonic MakerNote implemented using the following references: Panasonic MakerNote Information by To...
static const TagInfo * tagListAf21()
Return read-only list of built-in Auto Focus 2 tags.
Definition: nikonmn_int.cpp:910
const TagDetails exifFlash[]
Flash, Exif tag 0x9209.
static const TagInfo * tagList()
Return read-only list of built-in Casio tags.
Definition: casiomn_int.cpp:208
uint16_t tag_
Tag.
Definition: tags.hpp:95
const char * label_
Description of the vocabulary string.
Definition: tags_int.hpp:211
std::ostream & printExifUnit(std::ostream &os, const Value &value, const ExifData *metadata)
Print function for Exif units.
Definition: tags_int.cpp:2272
@ string
IPTC string type.
Definition: types.hpp:147
std::ostream & print0xa300(std::ostream &os, const Value &value, const ExifData *metadata)
Print file source.
Definition: tags_int.cpp:2678
const TagDetails exifCfaLayout[]
CFALayout, tag 0xc617.
std::ostream & print0x9207(std::ostream &os, const Value &value, const ExifData *metadata)
Print metering mode.
Definition: tags_int.cpp:2577
static const TagInfo * tagListWt()
Return read-only list of built-in World time tags.
Definition: nikonmn_int.cpp:777
std::ostream & print0xa403(std::ostream &os, const Value &value, const ExifData *metadata)
Print white balance.
Definition: tags_int.cpp:2722
const char * desc_
Section description.
Definition: tags_int.hpp:181
std::ostream & print0x920a(std::ostream &os, const Value &value, const ExifData *)
Print the actual focal length of the lens.
Definition: tags_int.cpp:2612
static const TagInfo * tagListFp()
Return read-only list of built-in Sony FocusPosition tags.
Definition: sonymn_int.cpp:809
const char * label_
Description of the tag value.
Definition: tags_int.hpp:202
Casio MakerNote implemented using the following references: Casio MakerNote Information by GVsoft,...
bool ok() const
Check the ok status indicator. After a to<Type> conversion, this indicator shows whether the conversi...
Definition: value.hpp:197
const TagDetails exifNewSubfileType[]
NewSubfileType, TIFF tag 0x00fe - this is actually a bitmask.
std::ostream & print0xa001(std::ostream &os, const Value &value, const ExifData *metadata)
Print color space.
Definition: tags_int.cpp:2650
static const TagInfo * tagListRi()
Return read-only list of built-in Olympus Raw Info tags.
Definition: olympusmn_int.cpp:1107
Fujifilm MakerNote implemented according to the specification in Appendix 4: Makernote of Fujifilm of...
const TagDetails exifGPSSpeedRef[]
GPS speed reference, tag 0x000c.
IfdId groupId(const std::string &groupName)
Return the group id for a group name.
Definition: tags_int.cpp:2140
std::ostream & print0xa405(std::ostream &os, const Value &value, const ExifData *)
Print 35mm equivalent focal length.
Definition: tags_int.cpp:2745
std::ostream & printExifVersion(std::ostream &os, const Value &value, const ExifData *)
Print any version packed in 4 Bytes format : major major minor minor.
Definition: tags_int.cpp:2834
static const TagInfo * tagListLd2()
Return read-only list of built-in Lens Data 2 tags.
Definition: nikonmn_int.cpp:1437
std::ostream & print0xa301(std::ostream &os, const Value &value, const ExifData *metadata)
Print scene type.
Definition: tags_int.cpp:2688
bool isExifIfd(IfdId ifdId)
Return true if ifdId is an Exif IFD id.
Definition: tags_int.cpp:2070
static const TagInfo * tagListLd1()
Return read-only list of built-in Lens Data 1 tags.
Definition: nikonmn_int.cpp:1412
SectionId sectionId_
Section id.
Definition: tags_int.hpp:179
std::ostream & printUcs2(std::ostream &os, const Value &value, const ExifData *)
Print function converting from UCS-2LE to UTF-8.
Definition: tags_int.cpp:2246
Error class for exceptions, log message class.
const TagDetails exifSubjectDistanceRange[]
SubjectDistanceRange, tag 0xa40c.
A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifda...
Definition: exif.hpp:434
static const TagInfo * tagListFi()
Return read-only list of built-in Olympus Focus Info tags.
Definition: olympusmn_int.cpp:1034
static const TagInfo * tagListIi()
Return read-only list of built-in ISO info tags.
Definition: nikonmn_int.cpp:821
static const TagInfo * tagListLd3()
Return read-only list of built-in Lens Data 3 tags.
Definition: nikonmn_int.cpp:1462
float fnumber(float apertureValue)
Calculate F number from an APEX aperture value.
Definition: tags_int.cpp:2167
static const TagInfo * tagListSi3()
Return read-only list of built-in Shot Info D300 (a) tags.
Definition: nikonmn_int.cpp:1220