EXIF library (libexif) Internals  0.6.24
exif-tag.c
Go to the documentation of this file.
1 /* exif-tag.c
2  *
3  * Copyright (c) 2001 Lutz Mueller <lutz@users.sourceforge.net>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  * Boston, MA 02110-1301 USA.
19  */
20 
21 #include <config.h>
22 
23 #include <libexif/exif-tag.h>
24 #include <libexif/i18n.h>
25 
26 #include <stdlib.h>
27 #include <string.h>
28 
29 #define ESL_NNNN { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED }
30 #define ESL_OOOO { EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL }
31 #define ESL_MMMN { EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_NOT_RECORDED }
32 #define ESL_MMMM { EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY }
33 #define ESL_OMON { EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_NOT_RECORDED }
34 #define ESL_NNOO { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL }
35 #define ESL_NNMN { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_NOT_RECORDED }
36 #define ESL_NNMM { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY }
37 #define ESL_NNNM { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_MANDATORY }
38 #define ESL_NNNO { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_OPTIONAL }
39 #define ESL_UUUU { EXIF_SUPPORT_LEVEL_UNKNOWN, EXIF_SUPPORT_LEVEL_UNKNOWN, EXIF_SUPPORT_LEVEL_UNKNOWN, EXIF_SUPPORT_LEVEL_UNKNOWN }
40 #define ESL_GPS { ESL_NNNN, ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN }
41 #define ESL_UNKNOWN { ESL_UUUU, ESL_UUUU, ESL_UUUU, ESL_UUUU, ESL_UUUU }
42 
53 static const struct TagEntry {
57  const char *name;
58  const char *title;
59  const char *description;
62 } ExifTagTable[] = {
63 #ifndef NO_VERBOSE_TAG_STRINGS
64  {EXIF_TAG_GPS_VERSION_ID, "GPSVersionID", N_("GPS Tag Version"),
65  N_("Indicates the version of <GPSInfoIFD>. The version is given "
66  "as 2.0.0.0. This tag is mandatory when <GPSInfo> tag is "
67  "present. (Note: The <GPSVersionID> tag is given in bytes, "
68  "unlike the <ExifVersion> tag. When the version is "
69  "2.0.0.0, the tag value is 02000000.H)."), ESL_GPS},
70  {EXIF_TAG_INTEROPERABILITY_INDEX, "InteroperabilityIndex",
71  N_("Interoperability Index"),
72  N_("Indicates the identification of the Interoperability rule. "
73  "Use \"R98\" for stating ExifR98 Rules. Four bytes used "
74  "including the termination code (NULL). see the separate "
75  "volume of Recommended Exif Interoperability Rules (ExifR98) "
76  "for other tags used for ExifR98."),
78  {EXIF_TAG_GPS_LATITUDE_REF, "GPSLatitudeRef", N_("North or South Latitude"),
79  N_("Indicates whether the latitude is north or south latitude. The "
80  "ASCII value 'N' indicates north latitude, and 'S' is south "
81  "latitude."), ESL_GPS},
82  {EXIF_TAG_INTEROPERABILITY_VERSION, "InteroperabilityVersion",
83  N_("Interoperability Version"), "",
85  {EXIF_TAG_GPS_LATITUDE, "GPSLatitude", N_("Latitude"),
86  N_("Indicates the latitude. The latitude is expressed as three "
87  "RATIONAL values giving the degrees, minutes, and seconds, "
88  "respectively. When degrees, minutes and seconds are expressed, "
89  "the format is dd/1,mm/1,ss/1. When degrees and minutes are used "
90  "and, for example, fractions of minutes are given up to two "
91  "decimal places, the format is dd/1,mmmm/100,0/1."),
92  ESL_GPS},
93  {EXIF_TAG_GPS_LONGITUDE_REF, "GPSLongitudeRef", N_("East or West Longitude"),
94  N_("Indicates whether the longitude is east or west longitude. "
95  "ASCII 'E' indicates east longitude, and 'W' is west "
96  "longitude."), ESL_GPS},
97  {EXIF_TAG_GPS_LONGITUDE, "GPSLongitude", N_("Longitude"),
98  N_("Indicates the longitude. The longitude is expressed as three "
99  "RATIONAL values giving the degrees, minutes, and seconds, "
100  "respectively. When degrees, minutes and seconds are expressed, "
101  "the format is ddd/1,mm/1,ss/1. When degrees and minutes are "
102  "used and, for example, fractions of minutes are given up to "
103  "two decimal places, the format is ddd/1,mmmm/100,0/1."),
104  ESL_GPS},
105  {EXIF_TAG_GPS_ALTITUDE_REF, "GPSAltitudeRef", N_("Altitude Reference"),
106  N_("Indicates the altitude used as the reference altitude. If the "
107  "reference is sea level and the altitude is above sea level, 0 "
108  "is given. If the altitude is below sea level, a value of 1 is given "
109  "and the altitude is indicated as an absolute value in the "
110  "GPSAltitude tag. The reference unit is meters. Note that this tag "
111  "is BYTE type, unlike other reference tags."), ESL_GPS},
112  {EXIF_TAG_GPS_ALTITUDE, "GPSAltitude", N_("Altitude"),
113  N_("Indicates the altitude based on the reference in GPSAltitudeRef. "
114  "Altitude is expressed as one RATIONAL value. The reference unit "
115  "is meters."), ESL_GPS},
116  {EXIF_TAG_GPS_TIME_STAMP, "GPSTimeStamp", N_("GPS Time (Atomic Clock)"),
117  N_("Indicates the time as UTC (Coordinated Universal Time). "
118  "TimeStamp is expressed as three RATIONAL values giving "
119  "the hour, minute, and second."), ESL_GPS},
120  {EXIF_TAG_GPS_SATELLITES, "GPSSatellites", N_("GPS Satellites"),
121  N_("Indicates the GPS satellites used for measurements. This "
122  "tag can be used to describe the number of satellites, their ID "
123  "number, angle of elevation, azimuth, SNR and other information "
124  "in ASCII notation. The format is not specified. If the GPS "
125  "receiver is incapable of taking measurements, value of the tag "
126  "shall be set to NULL."), ESL_GPS},
127  {EXIF_TAG_GPS_STATUS, "GPSStatus", N_("GPS Receiver Status"),
128  N_("Indicates the status of the GPS receiver when the image is "
129  "recorded. 'A' means measurement is in progress, and 'V' means "
130  "the measurement is Interoperability."), ESL_GPS},
131  {EXIF_TAG_GPS_MEASURE_MODE, "GPSMeasureMode", N_("GPS Measurement Mode"),
132  N_("Indicates the GPS measurement mode. '2' means "
133  "two-dimensional measurement and '3' means three-dimensional "
134  "measurement is in progress."), ESL_GPS},
135  {EXIF_TAG_GPS_DOP, "GPSDOP", N_("Measurement Precision"),
136  N_("Indicates the GPS DOP (data degree of precision). An HDOP "
137  "value is written during two-dimensional measurement, and PDOP "
138  "during three-dimensional measurement."), ESL_GPS},
139  {EXIF_TAG_GPS_SPEED_REF, "GPSSpeedRef", N_("Speed Unit"),
140  N_("Indicates the unit used to express the GPS receiver speed "
141  "of movement. 'K', 'M' and 'N' represent kilometers per hour, "
142  "miles per hour, and knots."), ESL_GPS},
143  {EXIF_TAG_GPS_SPEED, "GPSSpeed", N_("Speed of GPS Receiver"),
144  N_("Indicates the speed of GPS receiver movement."), ESL_GPS},
145  {EXIF_TAG_GPS_TRACK_REF, "GPSTrackRef", N_("Reference for direction of movement"),
146  N_("Indicates the reference for giving the direction of GPS "
147  "receiver movement. 'T' denotes true direction and 'M' is "
148  "magnetic direction."), ESL_GPS},
149  {EXIF_TAG_GPS_TRACK, "GPSTrack", N_("Direction of Movement"),
150  N_("Indicates the direction of GPS receiver movement. The range "
151  "of values is from 0.00 to 359.99."), ESL_GPS},
152  {EXIF_TAG_GPS_IMG_DIRECTION_REF, "GPSImgDirectionRef", N_("GPS Image Direction Reference"),
153  N_("Indicates the reference for giving the direction of the image when it is captured. "
154  "'T' denotes true direction and 'M' is magnetic direction."), ESL_GPS},
155  {EXIF_TAG_GPS_IMG_DIRECTION, "GPSImgDirection", N_("GPS Image Direction"),
156  N_("Indicates the direction of the image when it was captured. The range of values is "
157  "from 0.00 to 359.99."), ESL_GPS},
158  {EXIF_TAG_GPS_MAP_DATUM, "GPSMapDatum", N_("Geodetic Survey Data Used"),
159  N_("Indicates the geodetic survey data used by the GPS "
160  "receiver. If the survey data is restricted to Japan, the value "
161  "of this tag is 'TOKYO' or 'WGS-84'. If a GPS Info tag is "
162  "recorded, it is strongly recommended that this tag be recorded."), ESL_GPS},
163  {EXIF_TAG_GPS_DEST_LATITUDE_REF, "GPSDestLatitudeRef", N_("Reference For Latitude of Destination"),
164  N_("Indicates whether the latitude of the destination point is "
165  "north or south latitude. The ASCII value 'N' indicates north "
166  "latitude, and 'S' is south latitude."), ESL_GPS},
167  {EXIF_TAG_GPS_DEST_LATITUDE, "GPSDestLatitude", N_("Latitude of Destination"),
168  N_("Indicates the latitude of the destination point. The "
169  "latitude is expressed as three RATIONAL values giving the "
170  "degrees, minutes, and seconds, respectively. If latitude is "
171  "expressed as degrees, minutes and seconds, a typical format "
172  "would be dd/1,mm/1,ss/1. When degrees and minutes are used and, "
173  "for example, fractions of minutes are given up to two decimal "
174  "places, the format would be dd/1,mmmm/100,0/1."), ESL_GPS},
175  {EXIF_TAG_GPS_DEST_LONGITUDE_REF, "GPSDestLongitudeRef", N_("Reference for Longitude of Destination"),
176  N_("Indicates whether the longitude of the destination point is "
177  "east or west longitude. ASCII 'E' indicates east longitude, and "
178  "'W' is west longitude."), ESL_GPS},
179  {EXIF_TAG_GPS_DEST_LONGITUDE, "GPSDestLongitude", N_("Longitude of Destination"),
180  N_("Indicates the longitude of the destination point. The "
181  "longitude is expressed as three RATIONAL values giving the "
182  "degrees, minutes, and seconds, respectively. If longitude is "
183  "expressed as degrees, minutes and seconds, a typical format "
184  "would be ddd/1,mm/1,ss/1. When degrees and minutes are used "
185  "and, for example, fractions of minutes are given up to two "
186  "decimal places, the format would be ddd/1,mmmm/100,0/1."),
187  ESL_GPS},
188  {EXIF_TAG_GPS_DEST_BEARING_REF, "GPSDestBearingRef", N_("Reference for Bearing of Destination"),
189  N_("Indicates the reference used for giving the bearing to "
190  "the destination point. 'T' denotes true direction and 'M' is "
191  "magnetic direction."), ESL_GPS},
192  {EXIF_TAG_GPS_DEST_BEARING, "GPSDestBearing", N_("Bearing of Destination"),
193  N_("Indicates the bearing to the destination point. The range "
194  "of values is from 0.00 to 359.99."), ESL_GPS},
195  {EXIF_TAG_GPS_DEST_DISTANCE_REF, "GPSDestDistanceRef", N_("Reference for Distance to Destination"),
196  N_("Indicates the unit used to express the distance to the "
197  "destination point. 'K', 'M' and 'N' represent kilometers, miles "
198  "and nautical miles."), ESL_GPS},
199  {EXIF_TAG_GPS_DEST_DISTANCE, "GPSDestDistance", N_("Distance to Destination"),
200  N_("Indicates the distance to the destination point."), ESL_GPS},
201  {EXIF_TAG_GPS_PROCESSING_METHOD, "GPSProcessingMethod", N_("Name of GPS Processing Method"),
202  N_("A character string recording the name of the method used "
203  "for location finding. The first byte indicates the character "
204  "code used, and this is followed by the name "
205  "of the method. Since the Type is not ASCII, NULL termination is "
206  "not necessary."), ESL_GPS},
207  {EXIF_TAG_GPS_AREA_INFORMATION, "GPSAreaInformation", N_("Name of GPS Area"),
208  N_("A character string recording the name of the GPS area. The "
209  "first byte indicates the character code used, "
210  "and this is followed by the name of the GPS area. Since "
211  "the Type is not ASCII, NULL termination is not necessary."), ESL_GPS},
212  {EXIF_TAG_GPS_DATE_STAMP, "GPSDateStamp", N_("GPS Date"),
213  N_("A character string recording date and time information "
214  "relative to UTC (Coordinated Universal Time). The format is "
215  "\"YYYY:MM:DD\". The length of the string is 11 bytes including "
216  "NULL."), ESL_GPS},
217  {EXIF_TAG_GPS_DIFFERENTIAL, "GPSDifferential", N_("GPS Differential Correction"),
218  N_("Indicates whether differential correction is applied to the "
219  "GPS receiver."), ESL_GPS},
220  {EXIF_TAG_GPS_H_POSITIONING_ERROR, "GPSHPositioningError", N_("GPS Horizontal Positioning Error"),
221  N_("Indicates the horizontal positioning errors in meters. This is "
222  "expressed as one RATIONAL value."), ESL_GPS},
223  /* Not in EXIF 2.2 */
224  {EXIF_TAG_NEW_SUBFILE_TYPE, "NewSubfileType",
225  N_("New Subfile Type"), N_("A general indication of the kind of data "
226  "contained in this subfile."),
227  ESL_UNKNOWN},
228  {EXIF_TAG_IMAGE_WIDTH, "ImageWidth", N_("Image Width"),
229  N_("The number of columns of image data, equal to the number of "
230  "pixels per row. In JPEG compressed data a JPEG marker is "
231  "used instead of this tag."),
233  {EXIF_TAG_IMAGE_LENGTH, "ImageLength", N_("Image Length"),
234  N_("The number of rows of image data. In JPEG compressed data a "
235  "JPEG marker is used instead of this tag."),
237  {EXIF_TAG_BITS_PER_SAMPLE, "BitsPerSample", N_("Bits per Sample"),
238  N_("The number of bits per image component. In this standard each "
239  "component of the image is 8 bits, so the value for this "
240  "tag is 8. See also <SamplesPerPixel>. In JPEG compressed data "
241  "a JPEG marker is used instead of this tag."),
243  {EXIF_TAG_COMPRESSION, "Compression", N_("Compression"),
244  N_("The compression scheme used for the image data. When a "
245  "primary image is JPEG compressed, this designation is "
246  "not necessary and is omitted. When thumbnails use JPEG "
247  "compression, this tag value is set to 6."),
249  {EXIF_TAG_PHOTOMETRIC_INTERPRETATION, "PhotometricInterpretation",
250  N_("Photometric Interpretation"),
251  N_("The pixel composition. In JPEG compressed data a JPEG "
252  "marker is used instead of this tag."),
254  /* Not in EXIF 2.2 */
255  {EXIF_TAG_FILL_ORDER, "FillOrder", N_("Fill Order"), "", ESL_UNKNOWN},
256  /* Not in EXIF 2.2 */
257  {EXIF_TAG_DOCUMENT_NAME, "DocumentName", N_("Document Name"), "",
258  ESL_UNKNOWN},
259  {EXIF_TAG_IMAGE_DESCRIPTION, "ImageDescription",
260  N_("Image Description"),
261  N_("A character string giving the title of the image. It may be "
262  "a comment such as \"1988 company picnic\" or "
263  "the like. Two-bytes character codes cannot be used. "
264  "When a 2-bytes code is necessary, the Exif Private tag "
265  "<UserComment> is to be used."),
267  {EXIF_TAG_MAKE, "Make", N_("Manufacturer"),
268  N_("The manufacturer of the recording "
269  "equipment. This is the manufacturer of the DSC, scanner, "
270  "video digitizer or other equipment that generated the "
271  "image. When the field is left blank, it is treated as "
272  "unknown."),
274  {EXIF_TAG_MODEL, "Model", N_("Model"),
275  N_("The model name or model number of the equipment. This is the "
276  "model name or number of the DSC, scanner, video digitizer "
277  "or other equipment that generated the image. When the field "
278  "is left blank, it is treated as unknown."),
280  {EXIF_TAG_STRIP_OFFSETS, "StripOffsets", N_("Strip Offsets"),
281  N_("For each strip, the byte offset of that strip. It is "
282  "recommended that this be selected so the number of strip "
283  "bytes does not exceed 64 Kbytes. With JPEG compressed "
284  "data this designation is not needed and is omitted. See also "
285  "<RowsPerStrip> and <StripByteCounts>."),
287  {EXIF_TAG_ORIENTATION, "Orientation", N_("Orientation"),
288  N_("The image orientation viewed in terms of rows and columns."),
290  {EXIF_TAG_SAMPLES_PER_PIXEL, "SamplesPerPixel",
291  N_("Samples per Pixel"),
292  N_("The number of components per pixel. Since this standard applies "
293  "to RGB and YCbCr images, the value set for this tag is 3. "
294  "In JPEG compressed data a JPEG marker is used instead of this "
295  "tag."),
297  {EXIF_TAG_ROWS_PER_STRIP, "RowsPerStrip", N_("Rows per Strip"),
298  N_("The number of rows per strip. This is the number of rows "
299  "in the image of one strip when an image is divided into "
300  "strips. With JPEG compressed data this designation is not "
301  "needed and is omitted. See also <StripOffsets> and "
302  "<StripByteCounts>."),
304  {EXIF_TAG_STRIP_BYTE_COUNTS, "StripByteCounts", N_("Strip Byte Count"),
305  N_("The total number of bytes in each strip. With JPEG compressed "
306  "data this designation is not needed and is omitted."),
308  {EXIF_TAG_X_RESOLUTION, "XResolution", N_("X-Resolution"),
309  N_("The number of pixels per <ResolutionUnit> in the <ImageWidth> "
310  "direction. When the image resolution is unknown, 72 [dpi] "
311  "is designated."),
313  {EXIF_TAG_Y_RESOLUTION, "YResolution", N_("Y-Resolution"),
314  N_("The number of pixels per <ResolutionUnit> in the <ImageLength> "
315  "direction. The same value as <XResolution> is designated."),
317  {EXIF_TAG_PLANAR_CONFIGURATION, "PlanarConfiguration",
318  N_("Planar Configuration"),
319  N_("Indicates whether pixel components are recorded in a chunky "
320  "or planar format. In JPEG compressed files a JPEG marker "
321  "is used instead of this tag. If this field does not exist, "
322  "the TIFF default of 1 (chunky) is assumed."),
324  {EXIF_TAG_RESOLUTION_UNIT, "ResolutionUnit", N_("Resolution Unit"),
325  N_("The unit for measuring <XResolution> and <YResolution>. The same "
326  "unit is used for both <XResolution> and <YResolution>. If "
327  "the image resolution is unknown, 2 (inches) is designated."),
329  {EXIF_TAG_TRANSFER_FUNCTION, "TransferFunction",
330  N_("Transfer Function"),
331  N_("A transfer function for the image, described in tabular style. "
332  "Normally this tag is not necessary, since color space is "
333  "specified in the color space information tag (<ColorSpace>)."),
335  {EXIF_TAG_SOFTWARE, "Software", N_("Software"),
336  N_("This tag records the name and version of the software or "
337  "firmware of the camera or image input device used to "
338  "generate the image. The detailed format is not specified, but "
339  "it is recommended that the example shown below be "
340  "followed. When the field is left blank, it is treated as "
341  "unknown."),
343  {EXIF_TAG_DATE_TIME, "DateTime", N_("Date and Time"),
344  N_("The date and time of image creation. In this standard "
345  "(EXIF-2.1) it is the date and time the file was changed."),
347  {EXIF_TAG_ARTIST, "Artist", N_("Artist"),
348  N_("This tag records the name of the camera owner, photographer or "
349  "image creator. The detailed format is not specified, but it is "
350  "recommended that the information be written as in the example "
351  "below for ease of Interoperability. When the field is "
352  "left blank, it is treated as unknown."),
354  {EXIF_TAG_WHITE_POINT, "WhitePoint", N_("White Point"),
355  N_("The chromaticity of the white point of the image. Normally "
356  "this tag is not necessary, since color space is specified "
357  "in the color space information tag (<ColorSpace>)."),
359  {EXIF_TAG_PRIMARY_CHROMATICITIES, "PrimaryChromaticities",
360  N_("Primary Chromaticities"),
361  N_("The chromaticity of the three primary colors of the image. "
362  "Normally this tag is not necessary, since color space is "
363  "specified in the color space information tag (<ColorSpace>)."),
365  /* Not in EXIF 2.2 */
366  {EXIF_TAG_SUB_IFDS, "SubIFDs", "SubIFD Offsets", N_("Defined by Adobe Corporation "
367  "to enable TIFF Trees within a TIFF file."), ESL_UNKNOWN},
368  /* Not in EXIF 2.2 */
369  {EXIF_TAG_TRANSFER_RANGE, "TransferRange", N_("Transfer Range"), "",
370  ESL_UNKNOWN},
371  /* Not in EXIF 2.2 */
372  {EXIF_TAG_JPEG_PROC, "JPEGProc", "JPEGProc", "", ESL_UNKNOWN},
373  {EXIF_TAG_JPEG_INTERCHANGE_FORMAT, "JPEGInterchangeFormat",
374  N_("JPEG Interchange Format"),
375  N_("The offset to the start byte (SOI) of JPEG compressed "
376  "thumbnail data. This is not used for primary image "
377  "JPEG data."),
380  "JPEGInterchangeFormatLength", N_("JPEG Interchange Format Length"),
381  N_("The number of bytes of JPEG compressed thumbnail data. This "
382  "is not used for primary image JPEG data. JPEG thumbnails "
383  "are not divided but are recorded as a continuous JPEG "
384  "bitstream from SOI to EOI. Appn and COM markers should "
385  "not be recorded. Compressed thumbnails must be recorded in no "
386  "more than 64 Kbytes, including all other data to be "
387  "recorded in APP1."),
389  {EXIF_TAG_YCBCR_COEFFICIENTS, "YCbCrCoefficients",
390  N_("YCbCr Coefficients"),
391  N_("The matrix coefficients for transformation from RGB to YCbCr "
392  "image data. No default is given in TIFF; but here the "
393  "value given in \"Color Space Guidelines\", is used "
394  "as the default. The color space is declared in a "
395  "color space information tag, with the default being the value "
396  "that gives the optimal image characteristics "
397  "Interoperability this condition."),
399  {EXIF_TAG_YCBCR_SUB_SAMPLING, "YCbCrSubSampling",
400  N_("YCbCr Sub-Sampling"),
401  N_("The sampling ratio of chrominance components in relation to the "
402  "luminance component. In JPEG compressed data a JPEG marker "
403  "is used instead of this tag."),
405  {EXIF_TAG_YCBCR_POSITIONING, "YCbCrPositioning",
406  N_("YCbCr Positioning"),
407  N_("The position of chrominance components in relation to the "
408  "luminance component. This field is designated only for "
409  "JPEG compressed data or uncompressed YCbCr data. The TIFF "
410  "default is 1 (centered); but when Y:Cb:Cr = 4:2:2 it is "
411  "recommended in this standard that 2 (co-sited) be used to "
412  "record data, in order to improve the image quality when viewed "
413  "on TV systems. When this field does not exist, the reader shall "
414  "assume the TIFF default. In the case of Y:Cb:Cr = 4:2:0, the "
415  "TIFF default (centered) is recommended. If the reader "
416  "does not have the capability of supporting both kinds of "
417  "<YCbCrPositioning>, it shall follow the TIFF default regardless "
418  "of the value in this field. It is preferable that readers "
419  "be able to support both centered and co-sited positioning."),
421  {EXIF_TAG_REFERENCE_BLACK_WHITE, "ReferenceBlackWhite",
422  N_("Reference Black/White"),
423  N_("The reference black point value and reference white point "
424  "value. No defaults are given in TIFF, but the values "
425  "below are given as defaults here. The color space is declared "
426  "in a color space information tag, with the default "
427  "being the value that gives the optimal image characteristics "
428  "Interoperability these conditions."),
430  /* Not in EXIF 2.2 */
431  {EXIF_TAG_XML_PACKET, "XMLPacket", N_("XML Packet"), N_("XMP Metadata"),
432  ESL_UNKNOWN},
433  /* Not in EXIF 2.2 */
434  {EXIF_TAG_RELATED_IMAGE_FILE_FORMAT, "RelatedImageFileFormat",
435  "RelatedImageFileFormat", "", ESL_UNKNOWN},
436  /* Not in EXIF 2.2 */
437  {EXIF_TAG_RELATED_IMAGE_WIDTH, "RelatedImageWidth",
438  "RelatedImageWidth", "", ESL_UNKNOWN},
439  /* Not in EXIF 2.2 */
440  {EXIF_TAG_RELATED_IMAGE_LENGTH, "RelatedImageLength",
441  "RelatedImageLength", "", ESL_UNKNOWN},
442  /* Not in EXIF 2.2 */
443  {EXIF_TAG_CFA_REPEAT_PATTERN_DIM, "CFARepeatPatternDim",
444  "CFARepeatPatternDim", "", ESL_UNKNOWN},
445  /* Not in EXIF 2.2 */
446  {EXIF_TAG_CFA_PATTERN, "CFAPattern",
447  N_("CFA Pattern"),
448  N_("Indicates the color filter array (CFA) geometric pattern of the "
449  "image sensor when a one-chip color area sensor is used. "
450  "It does not apply to all sensing methods."), ESL_UNKNOWN},
451  /* Not in EXIF 2.2 */
452  {EXIF_TAG_BATTERY_LEVEL, "BatteryLevel", N_("Battery Level"), "",
453  ESL_UNKNOWN},
454  {EXIF_TAG_COPYRIGHT, "Copyright", N_("Copyright"),
455  N_("Copyright information. In this standard the tag is used to "
456  "indicate both the photographer and editor copyrights. It is "
457  "the copyright notice of the person or organization claiming "
458  "rights to the image. The Interoperability copyright "
459  "statement including date and rights should be written in this "
460  "field; e.g., \"Copyright, John Smith, 19xx. All rights "
461  "reserved.\". In this standard the field records both the "
462  "photographer and editor copyrights, with each recorded in a "
463  "separate part of the statement. When there is a clear "
464  "distinction between the photographer and editor copyrights, "
465  "these are to be written in the order of photographer followed "
466  "by editor copyright, separated by NULL (in this case, "
467  "since the statement also ends with a NULL, there are two NULL "
468  "codes) (see example 1). When only the photographer is given, "
469  "it is terminated by one NULL code (see example 2). When only "
470  "the editor copyright is given, "
471  "the photographer copyright part consists of one space followed "
472  "by a terminating NULL code, then the editor copyright is given "
473  "(see example 3). When the field is left blank, it is treated "
474  "as unknown."),
476  {EXIF_TAG_EXPOSURE_TIME, "ExposureTime", N_("Exposure Time"),
477  N_("Exposure time, given in seconds (sec)."),
479  {EXIF_TAG_FNUMBER, "FNumber", N_("F-Number"),
480  N_("The F number."),
482  /* Not in EXIF 2.2 */
483  {EXIF_TAG_IPTC_NAA, "IPTC/NAA", "IPTC/NAA", "", ESL_UNKNOWN},
484  /* Not in EXIF 2.2 */
485  {EXIF_TAG_IMAGE_RESOURCES, "ImageResources", N_("Image Resources Block"), "",
486  ESL_UNKNOWN},
487  {EXIF_TAG_EXIF_IFD_POINTER, "ExifIfdPointer", "ExifIFDPointer",
488  N_("A pointer to the Exif IFD. Interoperability, Exif IFD has the "
489  "same structure as that of the IFD specified in TIFF. "
490  "ordinarily, however, it does not contain image data as in "
491  "the case of TIFF."),
493  /* Not in EXIF 2.2 */
494  {EXIF_TAG_INTER_COLOR_PROFILE, "InterColorProfile",
495  "InterColorProfile", "", ESL_UNKNOWN},
496  {EXIF_TAG_EXPOSURE_PROGRAM, "ExposureProgram", N_("Exposure Program"),
497  N_("The class of the program used by the camera to set exposure "
498  "when the picture is taken."),
500  {EXIF_TAG_SPECTRAL_SENSITIVITY, "SpectralSensitivity",
501  N_("Spectral Sensitivity"),
502  N_("Indicates the spectral sensitivity of each channel of the "
503  "camera used. The tag value is an ASCII string compatible "
504  "with the standard developed by the ASTM Technical Committee."),
506  {EXIF_TAG_GPS_INFO_IFD_POINTER, "GPSInfoIFDPointer",
507  N_("GPS Info IFD Pointer"),
508  N_("A pointer to the GPS Info IFD. The "
509  "Interoperability structure of the GPS Info IFD, like that of "
510  "Exif IFD, has no image data."),
512  {EXIF_TAG_ISO_SPEED_RATINGS, "ISOSpeedRatings",
513  N_("ISO Speed Ratings"),
514  N_("Indicates the ISO Speed and ISO Latitude of the camera or "
515  "input device as specified in ISO 12232."),
517  {EXIF_TAG_OECF, "OECF", N_("Opto-Electronic Conversion Function"),
518  N_("Indicates the Opto-Electronic Conversion Function (OECF) "
519  "specified in ISO 14524. <OECF> is the relationship between "
520  "the camera optical input and the image values."),
522  /* Not in EXIF 2.2 */
523  {EXIF_TAG_TIME_ZONE_OFFSET, "TimeZoneOffset", N_("Time Zone Offset"),
524  N_("Encodes time zone of camera clock relative to GMT."),
525  ESL_UNKNOWN},
526  {EXIF_TAG_SENSITIVITY_TYPE, "SensitivityType", N_("Sensitivity Type"),
527  N_("The SensitivityType tag indicates which one of the parameters of "
528  "ISO12232 is the PhotographicSensitivity tag. Although it is an optional "
529  "tag, it should be recorded when a PhotographicSensitivity tag is recorded. "
530  "Value = 4, 5, 6, or 7 may be used in case that the values of plural parameters "
531  "are the same."),
533  {EXIF_TAG_STANDARD_OUTPUT_SENSITIVITY, "StandardOutputSensitivity", N_("Standard Output Sensitivity"),
534  "",
536  {EXIF_TAG_RECOMMENDED_EXPOSURE_INDEX, "RecommendedExposureIndex",
537  N_("Recommended Exposure Index"),
538  "",
540  {EXIF_TAG_ISO_SPEED, "ISO Speed",
541  N_("ISO Speed"),
542  "",
544  {EXIF_TAG_ISO_SPEEDLatitudeYYY, "ISO Speed Latitude yyy",
545  N_("ISO Speed Latitude yyy"),
546  "",
548  {EXIF_TAG_ISO_SPEEDLatitudeZZZ, "ISO Speed Latitude zzz",
549  N_("ISO Speed Latitude zzz"),
550  "",
552  {EXIF_TAG_EXIF_VERSION, "ExifVersion", N_("Exif Version"),
553  N_("The version of this standard supported. Nonexistence of this "
554  "field is taken to mean nonconformance to the standard."),
556  {EXIF_TAG_DATE_TIME_ORIGINAL, "DateTimeOriginal",
557  N_("Date and Time (Original)"),
558  N_("The date and time when the original image data was generated. "
559  "For a digital still camera "
560  "the date and time the picture was taken are recorded."),
562  {EXIF_TAG_DATE_TIME_DIGITIZED, "DateTimeDigitized",
563  N_("Date and Time (Digitized)"),
564  N_("The date and time when the image was stored as digital data."),
566  /* EXIF 2.32 */
567  {EXIF_TAG_OFFSET_TIME, "OffsetTime", N_("Offset Time For DateTime"),
568  N_("A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTime tag. The format when recording the offset is \"+|-HH:MM\". The part of \"+|-\" shall be recorded as \"+\" or \"-\". When the offset are unknown, all the character spaces except colons (\":\")should be filled with blank characters, or else the Interoperability field should be filled with blank characters. The character string length is 7 Bytes including NULL for termination. When the field is left blank, it is treated as unknown."),
570  /* EXIF 2.32 */
571  {EXIF_TAG_OFFSET_TIME_ORIGINAL, "OffsetTimeOriginal", N_("Offset Time For DateTimeOriginal"),
572  N_("A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTimeOriginal tag. The format when recording the offset is \"+|-HH:MM\". The part of \"+|-\" shall be recorded as \"+\" or \"-\". When the offset are unknown, all the character spaces except colons (\":\")should be filled with blank characters, or else the Interoperability field should be filled with blank characters. The character string length is 7 Bytes including NULL for termination. When the field is left blank, it is treated as unknown."),
574  /* EXIF 2.32 */
575  {EXIF_TAG_OFFSET_TIME_DIGITIZED, "OffsetTimeDigitized", N_("Offset Time For DateTimeDigitized"),
576  N_("A tag used to record the offset from UTC (the time difference from Universal Time Coordinated including daylight saving time) of the time of DateTimeDigitized tag. The format when recording the offset is \"+|-HH:MM\". The part of \"+|-\" shall be recorded as \"+\" or \"-\". When the offset are unknown, all the character spaces except colons (\":\")should be filled with blank characters, or else the Interoperability field should be filled with blank characters. The character string length is 7 Bytes including NULL for termination. When the field is left blank, it is treated as unknown."),
578  {EXIF_TAG_COMPONENTS_CONFIGURATION, "ComponentsConfiguration",
579  N_("Components Configuration"),
580  N_("Information specific to compressed data. The channels of "
581  "each component are arranged in order from the 1st "
582  "component to the 4th. For uncompressed data the data "
583  "arrangement is given in the <PhotometricInterpretation> tag. "
584  "However, since <PhotometricInterpretation> can only "
585  "express the order of Y, Cb and Cr, this tag is provided "
586  "for cases when compressed data uses components other than "
587  "Y, Cb, and Cr and to enable support of other sequences."),
589  {EXIF_TAG_COMPRESSED_BITS_PER_PIXEL, "CompressedBitsPerPixel",
590  N_("Compressed Bits per Pixel"),
591  N_("Information specific to compressed data. The compression mode "
592  "used for a compressed image is indicated in unit bits "
593  "per pixel."),
595  {EXIF_TAG_SHUTTER_SPEED_VALUE, "ShutterSpeedValue", N_("Shutter Speed"),
596  N_("Shutter speed. The unit is the APEX (Additive System of "
597  "Photographic Exposure) setting."),
599  {EXIF_TAG_APERTURE_VALUE, "ApertureValue", N_("Aperture"),
600  N_("The lens aperture. The unit is the APEX value."),
602  {EXIF_TAG_BRIGHTNESS_VALUE, "BrightnessValue", N_("Brightness"),
603  N_("The value of brightness. The unit is the APEX value. "
604  "Ordinarily it is given in the range of -99.99 to 99.99."),
606  {EXIF_TAG_EXPOSURE_BIAS_VALUE, "ExposureBiasValue",
607  N_("Exposure Bias"),
608  N_("The exposure bias. The units is the APEX value. Ordinarily "
609  "it is given in the range of -99.99 to 99.99."),
611  {EXIF_TAG_MAX_APERTURE_VALUE, "MaxApertureValue", N_("Maximum Aperture Value"),
612  N_("The smallest F number of the lens. The unit is the APEX value. "
613  "Ordinarily it is given in the range of 00.00 to 99.99, "
614  "but it is not limited to this range."),
616  {EXIF_TAG_SUBJECT_DISTANCE, "SubjectDistance",
617  N_("Subject Distance"),
618  N_("The distance to the subject, given in meters."),
620  {EXIF_TAG_METERING_MODE, "MeteringMode", N_("Metering Mode"),
621  N_("The metering mode."),
623  {EXIF_TAG_LIGHT_SOURCE, "LightSource", N_("Light Source"),
624  N_("The kind of light source."),
626  {EXIF_TAG_FLASH, "Flash", N_("Flash"),
627  N_("This tag is recorded when an image is taken using a strobe "
628  "light (flash)."),
630  {EXIF_TAG_FOCAL_LENGTH, "FocalLength", N_("Focal Length"),
631  N_("The actual focal length of the lens, in mm. Conversion is not "
632  "made to the focal length of a 35 mm film camera."),
634  {EXIF_TAG_SUBJECT_AREA, "SubjectArea", N_("Subject Area"),
635  N_("This tag indicates the location and area of the main subject "
636  "in the overall scene."),
638  /* Not in EXIF 2.2 */
639  {EXIF_TAG_TIFF_EP_STANDARD_ID, "TIFF/EPStandardID", N_("TIFF/EP Standard ID"), "",
640  ESL_UNKNOWN},
641  {EXIF_TAG_MAKER_NOTE, "MakerNote", N_("Maker Note"),
642  N_("A tag for manufacturers of Exif writers to record any desired "
643  "information. The contents are up to the manufacturer."),
645  {EXIF_TAG_USER_COMMENT, "UserComment", N_("User Comment"),
646  N_("A tag for Exif users to write keywords or comments on the image "
647  "besides those in <ImageDescription>, and without the "
648  "character code limitations of the <ImageDescription> tag. The "
649  "character code used in the <UserComment> tag is identified "
650  "based on an ID code in a fixed 8-byte area at the start of "
651  "the tag data area. The unused portion of the area is padded "
652  "with NULL (\"00.h\"). ID codes are assigned by means of "
653  "registration. The designation method and references for each "
654  "character code are defined in the specification. The value of "
655  "CountN is determined based on the 8 bytes in the character code "
656  "area and the number of bytes in the user comment part. Since "
657  "the TYPE is not ASCII, NULL termination is not necessary. "
658  "The ID code for the <UserComment> area may be a Defined code "
659  "such as JIS or ASCII, or may be Undefined. The Undefined name "
660  "is UndefinedText, and the ID code is filled with 8 bytes of all "
661  "\"NULL\" (\"00.H\"). An Exif reader that reads the "
662  "<UserComment> tag must have a function for determining the "
663  "ID code. This function is not required in Exif readers that "
664  "do not use the <UserComment> tag. "
665  "When a <UserComment> area is set aside, it is recommended that "
666  "the ID code be ASCII and that the following user comment "
667  "part be filled with blank characters [20.H]."),
669  {EXIF_TAG_SUB_SEC_TIME, "SubsecTime", N_("Sub-second Time"),
670  N_("A tag used to record fractions of seconds for the "
671  "<DateTime> tag."),
673  {EXIF_TAG_SUB_SEC_TIME_ORIGINAL, "SubSecTimeOriginal",
674  N_("Sub-second Time (Original)"),
675  N_("A tag used to record fractions of seconds for the "
676  "<DateTimeOriginal> tag."),
678  {EXIF_TAG_SUB_SEC_TIME_DIGITIZED, "SubSecTimeDigitized",
679  N_("Sub-second Time (Digitized)"),
680  N_("A tag used to record fractions of seconds for the "
681  "<DateTimeDigitized> tag."),
683  /* Not in EXIF 2.2 (Microsoft extension) */
684  {EXIF_TAG_XP_TITLE, "XPTitle", N_("XP Title"),
685  N_("A character string giving the title of the image, encoded in "
686  "UTF-16LE."),
688  /* Not in EXIF 2.2 (Microsoft extension) */
689  {EXIF_TAG_XP_COMMENT, "XPComment", N_("XP Comment"),
690  N_("A character string containing a comment about the image, encoded "
691  "in UTF-16LE."),
693  /* Not in EXIF 2.2 (Microsoft extension) */
694  {EXIF_TAG_XP_AUTHOR, "XPAuthor", N_("XP Author"),
695  N_("A character string containing the name of the image creator, "
696  "encoded in UTF-16LE."),
698  /* Not in EXIF 2.2 (Microsoft extension) */
699  {EXIF_TAG_XP_KEYWORDS, "XPKeywords", N_("XP Keywords"),
700  N_("A character string containing key words describing the image, "
701  "encoded in UTF-16LE."),
703  /* Not in EXIF 2.2 (Microsoft extension) */
704  {EXIF_TAG_XP_SUBJECT, "XPSubject", N_("XP Subject"),
705  N_("A character string giving the image subject, encoded in "
706  "UTF-16LE."),
708  {EXIF_TAG_FLASH_PIX_VERSION, "FlashpixVersion", "FlashPixVersion",
709  N_("The FlashPix format version supported by a FPXR file."),
711  {EXIF_TAG_COLOR_SPACE, "ColorSpace", N_("Color Space"),
712  N_("The color space information tag is always "
713  "recorded as the color space specifier. Normally sRGB (=1) "
714  "is used to define the color space based on the PC monitor "
715  "conditions and environment. If a color space other than "
716  "sRGB is used, Uncalibrated (=FFFF.H) is set. Image data "
717  "recorded as Uncalibrated can be treated as sRGB when it is "
718  "converted to FlashPix."),
720  {EXIF_TAG_PIXEL_X_DIMENSION, "PixelXDimension", N_("Pixel X Dimension"),
721  N_("Information specific to compressed data. When a "
722  "compressed file is recorded, the valid width of the "
723  "meaningful image must be recorded in this tag, whether or "
724  "not there is padding data or a restart marker. This tag "
725  "should not exist in an uncompressed file."),
727  {EXIF_TAG_PIXEL_Y_DIMENSION, "PixelYDimension", N_("Pixel Y Dimension"),
728  N_("Information specific to compressed data. When a compressed "
729  "file is recorded, the valid height of the meaningful image "
730  "must be recorded in this tag, whether or not there is padding "
731  "data or a restart marker. This tag should not exist in an "
732  "uncompressed file. "
733  "Since data padding is unnecessary in the vertical direction, "
734  "the number of lines recorded in this valid image height tag "
735  "will in fact be the same as that recorded in the SOF."),
737  {EXIF_TAG_RELATED_SOUND_FILE, "RelatedSoundFile",
738  N_("Related Sound File"),
739  N_("This tag is used to record the name of an audio file related "
740  "to the image data. The only relational information "
741  "recorded here is the Exif audio file name and extension (an "
742  "ASCII string consisting of 8 characters + '.' + 3 "
743  "characters). The path is not recorded. Stipulations on audio "
744  "and file naming conventions are defined in the specification. "
745  "When using this tag, audio files must be recorded in "
746  "conformance to the Exif audio format. Writers are also allowed "
747  "to store the data such as Audio within APP2 as FlashPix "
748  "extension stream data. "
749  "The mapping of Exif image files and audio files is done "
750  "in any of three ways, [1], [2] and [3]. If multiple files "
751  "are mapped to one file as in [2] or [3], the above "
752  "format is used to record just one audio file name. If "
753  "there are multiple audio files, the first recorded file is "
754  "given. In the case of [3], for example, for the "
755  "Exif image file \"DSC00001.JPG\" only \"SND00001.WAV\" is "
756  "given as the related Exif audio file. When there are three "
757  "Exif audio files \"SND00001.WAV\", \"SND00002.WAV\" and "
758  "\"SND00003.WAV\", the Exif image file name for each of them, "
759  "\"DSC00001.JPG\", is indicated. By combining multiple "
760  "relational information, a variety of playback possibilities "
761  "can be supported. The method of using relational information "
762  "is left to the implementation on the playback side. Since this "
763  "information is an ASCII character string, it is terminated by "
764  "NULL. When this tag is used to map audio files, the relation "
765  "of the audio file to image data must also be indicated on the "
766  "audio file end."),
768  {EXIF_TAG_INTEROPERABILITY_IFD_POINTER, "InteroperabilityIFDPointer",
769  N_("Interoperability IFD Pointer"),
770  N_("Interoperability IFD is composed of tags which stores the "
771  "information to ensure the Interoperability and pointed "
772  "by the following tag located in Exif IFD. "
773  "The Interoperability structure of Interoperability IFD is "
774  "the same as TIFF defined IFD structure "
775  "but does not contain the "
776  "image data characteristically compared with normal TIFF "
777  "IFD."),
779  {EXIF_TAG_FLASH_ENERGY, "FlashEnergy", N_("Flash Energy"),
780  N_("Indicates the strobe energy at the time the image is "
781  "captured, as measured in Beam Candle Power Seconds (BCPS)."),
783  {EXIF_TAG_SPATIAL_FREQUENCY_RESPONSE, "SpatialFrequencyResponse",
784  N_("Spatial Frequency Response"),
785  N_("This tag records the camera or input device spatial frequency "
786  "table and SFR values in the direction of image width, "
787  "image height, and diagonal direction, as specified in ISO "
788  "12233."),
790  {EXIF_TAG_FOCAL_PLANE_X_RESOLUTION, "FocalPlaneXResolution",
791  N_("Focal Plane X-Resolution"),
792  N_("Indicates the number of pixels in the image width (X) direction "
793  "per <FocalPlaneResolutionUnit> on the camera focal plane."),
795  {EXIF_TAG_FOCAL_PLANE_Y_RESOLUTION, "FocalPlaneYResolution",
796  N_("Focal Plane Y-Resolution"),
797  N_("Indicates the number of pixels in the image height (V) direction "
798  "per <FocalPlaneResolutionUnit> on the camera focal plane."),
800  {EXIF_TAG_FOCAL_PLANE_RESOLUTION_UNIT, "FocalPlaneResolutionUnit",
801  N_("Focal Plane Resolution Unit"),
802  N_("Indicates the unit for measuring <FocalPlaneXResolution> and "
803  "<FocalPlaneYResolution>. This value is the same as the "
804  "<ResolutionUnit>."),
806  {EXIF_TAG_SUBJECT_LOCATION, "SubjectLocation",
807  N_("Subject Location"),
808  N_("Indicates the location of the main subject in the scene. The "
809  "value of this tag represents the pixel at the center of the "
810  "main subject relative to the left edge, prior to rotation "
811  "processing as per the <Rotation> tag. The first value "
812  "indicates the X column number and the second indicates "
813  "the Y row number."),
815  {EXIF_TAG_EXPOSURE_INDEX, "ExposureIndex", N_("Exposure Index"),
816  N_("Indicates the exposure index selected on the camera or "
817  "input device at the time the image is captured."),
819  {EXIF_TAG_SENSING_METHOD, "SensingMethod", N_("Sensing Method"),
820  N_("Indicates the image sensor type on the camera or input "
821  "device."),
823  {EXIF_TAG_FILE_SOURCE, "FileSource", N_("File Source"),
824  N_("Indicates the image source. If a DSC recorded the image, "
825  "the tag value of this tag always be set to 3, indicating "
826  "that the image was recorded on a DSC."),
828  {EXIF_TAG_SCENE_TYPE, "SceneType", N_("Scene Type"),
829  N_("Indicates the type of scene. If a DSC recorded the image, "
830  "this tag value must always be set to 1, indicating that the "
831  "image was directly photographed."),
833  {EXIF_TAG_NEW_CFA_PATTERN, "CFAPattern",
834  N_("CFA Pattern"),
835  N_("Indicates the color filter array (CFA) geometric pattern of the "
836  "image sensor when a one-chip color area sensor is used. "
837  "It does not apply to all sensing methods."),
839  {EXIF_TAG_CUSTOM_RENDERED, "CustomRendered", N_("Custom Rendered"),
840  N_("This tag indicates the use of special processing on image "
841  "data, such as rendering geared to output. When special "
842  "processing is performed, the reader is expected to disable "
843  "or minimize any further processing."),
845  {EXIF_TAG_EXPOSURE_MODE, "ExposureMode", N_("Exposure Mode"),
846  N_("This tag indicates the exposure mode set when the image was "
847  "shot. In auto-bracketing mode, the camera shoots a series of "
848  "frames of the same scene at different exposure settings."),
850  {EXIF_TAG_WHITE_BALANCE, "WhiteBalance", N_("White Balance"),
851  N_("This tag indicates the white balance mode set when the image "
852  "was shot."),
854  {EXIF_TAG_DIGITAL_ZOOM_RATIO, "DigitalZoomRatio",
855  N_("Digital Zoom Ratio"),
856  N_("This tag indicates the digital zoom ratio when the image was "
857  "shot. If the numerator of the recorded value is 0, this "
858  "indicates that digital zoom was not used."),
860  {EXIF_TAG_FOCAL_LENGTH_IN_35MM_FILM, "FocalLengthIn35mmFilm",
861  N_("Focal Length in 35mm Film"),
862  N_("This tag indicates the equivalent focal length assuming a "
863  "35mm film camera, in mm. A value of 0 means the focal "
864  "length is unknown. Note that this tag differs from the "
865  "FocalLength tag."),
867  {EXIF_TAG_SCENE_CAPTURE_TYPE, "SceneCaptureType",
868  N_("Scene Capture Type"),
869  N_("This tag indicates the type of scene that was shot. It can "
870  "also be used to record the mode in which the image was "
871  "shot. Note that this differs from the scene type "
872  "<SceneType> tag."),
874  {EXIF_TAG_GAIN_CONTROL, "GainControl", N_("Gain Control"),
875  N_("This tag indicates the degree of overall image gain "
876  "adjustment."),
878  {EXIF_TAG_CONTRAST, "Contrast", N_("Contrast"),
879  N_("This tag indicates the direction of contrast processing "
880  "applied by the camera when the image was shot."),
882  {EXIF_TAG_SATURATION, "Saturation", N_("Saturation"),
883  N_("This tag indicates the direction of saturation processing "
884  "applied by the camera when the image was shot."),
886  {EXIF_TAG_SHARPNESS, "Sharpness", N_("Sharpness"),
887  N_("This tag indicates the direction of sharpness processing "
888  "applied by the camera when the image was shot."),
890  {EXIF_TAG_DEVICE_SETTING_DESCRIPTION, "DeviceSettingDescription",
891  N_("Device Setting Description"),
892  N_("This tag indicates information on the picture-taking "
893  "conditions of a particular camera model. The tag is used "
894  "only to indicate the picture-taking conditions in the "
895  "reader."),
897  {EXIF_TAG_SUBJECT_DISTANCE_RANGE, "SubjectDistanceRange",
898  N_("Subject Distance Range"),
899  N_("This tag indicates the distance to the subject."),
901  {EXIF_TAG_IMAGE_UNIQUE_ID, "ImageUniqueID", N_("Image Unique ID"),
902  N_("This tag indicates an identifier assigned uniquely to "
903  "each image. It is recorded as an ASCII string equivalent "
904  "to hexadecimal notation and 128-bit fixed length."),
906  /* EXIF 2.3 */
907  {EXIF_TAG_CAMERA_OWNER_NAME, "CameraOwnerName", N_("Camera Owner Name"),
908  N_("This tag indicates the name of the camera owner, "
909  "photographer or image creator."),
911  /* EXIF 2.3 */
912  {EXIF_TAG_BODY_SERIAL_NUMBER, "BodySerialNumber", N_("Body Serial Number"),
913  N_("This tag indicates the serial number of the body of the camera"),
915  /* EXIF 2.3 */
916  {EXIF_TAG_LENS_SPECIFICATION, "LensSpecification", N_("Lens Specification"),
917  N_("This tag indicates minimum focal length, "
918  "maximum focal length, minimum F number in the "
919  "minimum focal length, and minimum F number in "
920  "the maximum focal length."),
922  /* EXIF 2.3 */
923  {EXIF_TAG_LENS_MAKE, "LensMake", N_("Lens Make"),
924  N_("This tag indicates the lens manufacturer."),
926  /* EXIF 2.3 */
927  {EXIF_TAG_LENS_MODEL, "LensModel", N_("Lens Model"),
928  N_("This tag indicates the lens' model name and model number."),
930  /* EXIF 2.3 */
931  {EXIF_TAG_LENS_SERIAL_NUMBER, "LensSerialNumber", N_("Lens Serial Number"),
932  N_("This tag indicates the serial number of the interchangeable lens."),
934  /* EXIF 2.32 */
935  {EXIF_TAG_COMPOSITE_IMAGE, "CompositeImage", N_("Composite Image"),
936  N_("This tag indicates whether this image was composed from multiple images"),
938  /* EXIF 2.32 */
939  {EXIF_TAG_SOURCE_IMAGE_NUMBER_OF_COMPOSITE_IMAGE, "SourceImageNumberOfCompositeImage", N_("Source Image Number Of Composite Image"),
940  N_("This tag indicates how many images are included and used in the composition of this image"),
942  /* EXIF 2.32 */
943  {EXIF_TAG_SOURCE_EXPOSURE_TIMES_OF_COMPOSITE_IMAGE, "SourceExposureTimesOfCompositeImage", N_("Source Exposure Times of Composite Image"),
944  N_("This tag indicates the exposure times of the source images of this image"),
946  /* EXIF 2.3 */
947  {EXIF_TAG_GAMMA, "Gamma", N_("Gamma"),
948  N_("Indicates the value of coefficient gamma."),
950  /* Not in EXIF 2.2 */
951  {EXIF_TAG_PRINT_IMAGE_MATCHING, "PrintImageMatching", N_("PRINT Image Matching"),
952  N_("Related to Epson's PRINT Image Matching technology"),
953  ESL_UNKNOWN},
954  /* Not in EXIF 2.2 (from the Microsoft HD Photo specification) */
955  {EXIF_TAG_PADDING, "Padding", N_("Padding"),
956  N_("This tag reserves space that can be reclaimed later when "
957  "additional metadata are added. New metadata can be written "
958  "in place by replacing this tag with a smaller data element "
959  "and using the reclaimed space to store the new or expanded "
960  "metadata tags."),
962 #endif
963  {0, NULL, NULL, NULL, ESL_UNKNOWN}
964 };
965 
966 /* For now, do not use these functions. */
967 
972 unsigned int
974 {
975  return sizeof (ExifTagTable) / sizeof (ExifTagTable[0]);
976 }
977 
978 
979 ExifTag
980 exif_tag_table_get_tag (unsigned int n)
981 {
982  return (n < exif_tag_table_count ()) ? ExifTagTable[n].tag : 0;
983 }
984 
985 const char *
986 exif_tag_table_get_name (unsigned int n)
987 {
988  return (n < exif_tag_table_count ()) ? ExifTagTable[n].name : NULL;
989 }
990 
997 static int
998 match_tag(const void *tag, const void *entry)
999 {
1000  return *(int*)tag - ((struct TagEntry *)entry)->tag;
1001 }
1002 
1003 
1010 static int
1012 {
1013  int i;
1014  struct TagEntry *entry = bsearch(&tag, ExifTagTable,
1015  exif_tag_table_count()-1, sizeof(struct TagEntry), match_tag);
1016  if (!entry)
1017  return -1; /* Not found */
1018 
1019  /* Calculate index of found entry */
1020  i = entry - ExifTagTable;
1021 
1022  /* There may be other entries with the same tag number, so search
1023  * backwards to find the first
1024  */
1025  while ((i > 0) && (ExifTagTable[i-1].tag == tag)) {
1026  --i;
1027  }
1028  return i;
1029 }
1030 
1031 #define RECORDED \
1032 ((ExifTagTable[i].esl[ifd][EXIF_DATA_TYPE_UNCOMPRESSED_CHUNKY] != EXIF_SUPPORT_LEVEL_NOT_RECORDED) || \
1033  (ExifTagTable[i].esl[ifd][EXIF_DATA_TYPE_UNCOMPRESSED_PLANAR] != EXIF_SUPPORT_LEVEL_NOT_RECORDED) || \
1034  (ExifTagTable[i].esl[ifd][EXIF_DATA_TYPE_UNCOMPRESSED_YCC] != EXIF_SUPPORT_LEVEL_NOT_RECORDED) || \
1035  (ExifTagTable[i].esl[ifd][EXIF_DATA_TYPE_COMPRESSED] != EXIF_SUPPORT_LEVEL_NOT_RECORDED))
1036 
1037 const char *
1039 {
1040  unsigned int i;
1041  int first;
1042 
1043  if (ifd >= EXIF_IFD_COUNT)
1044  return NULL;
1045  first = exif_tag_table_first(tag);
1046  if (first < 0)
1047  return NULL;
1048 
1049  for (i = first; ExifTagTable[i].name; i++) {
1050  if (ExifTagTable[i].tag == tag) {
1051  if (RECORDED)
1052  break;
1053  } else
1054  return NULL; /* Recorded tag not found in the table */
1055  }
1056  return ExifTagTable[i].name;
1057 }
1058 
1059 const char *
1061 {
1062  unsigned int i;
1063  int first;
1064 
1065  if (ifd >= EXIF_IFD_COUNT)
1066  return NULL;
1067  first = exif_tag_table_first(tag);
1068  if (first < 0)
1069  return NULL;
1070 
1071  for (i = first; ExifTagTable[i].name; i++) {
1072  if (ExifTagTable[i].tag == tag) {
1073  if (RECORDED)
1074  break;
1075  } else
1076  return NULL; /* Recorded tag not found in the table */
1077  }
1078  (void) bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
1079  return _(ExifTagTable[i].title);
1080 }
1081 
1082 const char *
1084 {
1085  unsigned int i;
1086  int first;
1087 
1088  if (ifd >= EXIF_IFD_COUNT)
1089  return NULL;
1090  first = exif_tag_table_first(tag);
1091  if (first < 0)
1092  return NULL;
1093 
1094  for (i = first; ExifTagTable[i].name; i++) {
1095  if (ExifTagTable[i].tag == tag) {
1096  if (RECORDED)
1097  break;
1098  } else
1099  return NULL; /* Recorded tag not found in the table */
1100  }
1101 
1102  /* GNU gettext acts strangely when given an empty string */
1104  return "";
1105 
1106  /* libexif should use the default system locale.
1107  * If an application specifically requires UTF-8, then we
1108  * must give the application a way to tell libexif that.
1109  *
1110  * bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
1111  */
1112  (void) bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
1113  return _(ExifTagTable[i].description);
1114 }
1115 
1116 
1117 /**********************************************************************
1118  * convenience functions
1119  **********************************************************************/
1120 
1121 /* generic part: iterate through IFD list and return first result */
1122 typedef const char * (*get_stuff_func) (ExifTag tag, ExifIfd ifd);
1123 
1124 static const char *
1126 {
1127  /* Search IFDs in this order, in decreasing order of number of valid tags */
1128  static const ExifIfd ifds[EXIF_IFD_COUNT] = {
1129  EXIF_IFD_EXIF,
1130  EXIF_IFD_0,
1131  EXIF_IFD_1,
1133  EXIF_IFD_GPS
1134  };
1135  int i;
1136  for (i=0; i<EXIF_IFD_COUNT; i++) {
1137  const char *result = func(tag, ifds[i]);
1138  if (result != NULL) {
1139  return result;
1140  }
1141  }
1142  return (const char *) NULL;
1143 }
1144 
1145 /* explicit functions */
1146 const char *
1148 {
1150 }
1151 
1152 const char *
1154 {
1156 }
1157 
1158 const char *
1160 {
1162 }
1163 
1164 
1165 
1166 ExifTag
1168 {
1169  unsigned int i;
1170  unsigned int result=0;
1171 
1172  if (!name) return 0;
1173 
1174  for (i = 0; ExifTagTable[i].name; i++)
1175  if (!strcmp (ExifTagTable[i].name, name)) {
1176  result = ExifTagTable[i].tag;
1177  break;
1178  }
1179  return result;
1180 }
1181 
1191 static inline ExifSupportLevel
1193 {
1194  unsigned int i;
1195  int first = exif_tag_table_first(tag);
1196  if (first < 0)
1198 
1199  for (i = first; ExifTagTable[i].name; i++) {
1200  if (ExifTagTable[i].tag == tag) {
1201  const ExifSupportLevel supp = ExifTagTable[i].esl[ifd][t];
1202  if (supp != EXIF_SUPPORT_LEVEL_NOT_RECORDED)
1203  return supp;
1204  /* Try looking for another entry */
1205  } else {
1206  break; /* We've reached the end of the matching tags */
1207  }
1208  }
1210 }
1211 
1221 static inline ExifSupportLevel
1223 {
1224  unsigned int i;
1225  int first = exif_tag_table_first(tag);
1226  if (first < 0)
1228 
1229  for (i = first; ExifTagTable[i].name; i++) {
1230  if (ExifTagTable[i].tag == tag) {
1231  /*
1232  * Check whether the support level is the same for all possible
1233  * data types and isn't marked not recorded.
1234  */
1235  const ExifSupportLevel supp = ExifTagTable[i].esl[ifd][0];
1236  /* If level is not recorded, keep searching for another */
1237  if (supp != EXIF_SUPPORT_LEVEL_NOT_RECORDED) {
1238  unsigned int dt;
1239  for (dt = 0; dt < EXIF_DATA_TYPE_COUNT; ++dt) {
1240  if (ExifTagTable[i].esl[ifd][dt] != supp)
1241  break;
1242  }
1243  if (dt == EXIF_DATA_TYPE_COUNT)
1244  /* Support level is always the same, so return it */
1245  return supp;
1246  }
1247  /* Keep searching the table for another tag for our IFD */
1248  } else {
1249  break; /* We've reached the end of the matching tags */
1250  }
1251  }
1253 }
1254 
1257 {
1258  if (ifd >= EXIF_IFD_COUNT)
1260 
1261  if (t >= EXIF_DATA_TYPE_COUNT)
1263 
1264  return get_support_level_in_ifd (tag, ifd, t);
1265 }
ExifDataType
Represents the type of image data to which the EXIF data applies.
@ EXIF_DATA_TYPE_COUNT
ExifIfd ifd
Definition: exif-ifd.c:28
ExifIfd
Possible EXIF Image File Directories.
Definition: exif-ifd.h:29
@ EXIF_IFD_GPS
Definition: exif-ifd.h:33
@ EXIF_IFD_INTEROPERABILITY
Definition: exif-ifd.h:34
@ EXIF_IFD_EXIF
Definition: exif-ifd.h:32
@ EXIF_IFD_1
Definition: exif-ifd.h:31
@ EXIF_IFD_COUNT
Not a real value, just (max_value + 1).
Definition: exif-ifd.h:35
@ EXIF_IFD_0
Definition: exif-ifd.h:30
const char * exif_tag_get_name(ExifTag tag)
Definition: exif-tag.c:1147
#define ESL_GPS
Definition: exif-tag.c:40
#define ESL_NNOO
Definition: exif-tag.c:34
static ExifSupportLevel get_support_level_in_ifd(ExifTag tag, ExifIfd ifd, ExifDataType t)
Return the support level of a tag in the given IFD with the given data type.
Definition: exif-tag.c:1192
static int match_tag(const void *tag, const void *entry)
Compares the tag with that in entry.
Definition: exif-tag.c:998
static const struct TagEntry ExifTagTable[]
#define ESL_MMMM
Definition: exif-tag.c:32
ExifTag exif_tag_table_get_tag(unsigned int n)
Definition: exif-tag.c:980
static int exif_tag_table_first(ExifTag tag)
Finds the first entry in the EXIF tag table with the given tag number using a binary search.
Definition: exif-tag.c:1011
#define ESL_NNNM
Definition: exif-tag.c:37
const char * exif_tag_table_get_name(unsigned int n)
Definition: exif-tag.c:986
#define ESL_NNNN
Definition: exif-tag.c:29
#define ESL_MMMN
Definition: exif-tag.c:31
#define ESL_NNMN
Definition: exif-tag.c:35
const char * exif_tag_get_title(ExifTag tag)
Definition: exif-tag.c:1153
ExifTag exif_tag_from_name(const char *name)
Return the tag ID given its unique textual name.
Definition: exif-tag.c:1167
const char *(* get_stuff_func)(ExifTag tag, ExifIfd ifd)
Definition: exif-tag.c:1122
const char * exif_tag_get_name_in_ifd(ExifTag tag, ExifIfd ifd)
Return a textual name of the given tag when found in the given IFD.
Definition: exif-tag.c:1038
#define RECORDED
Definition: exif-tag.c:1031
unsigned int exif_tag_table_count(void)
Return the number of entries in the EXIF tag table, including the terminating NULL entry.
Definition: exif-tag.c:973
ExifSupportLevel exif_tag_get_support_level_in_ifd(ExifTag tag, ExifIfd ifd, ExifDataType t)
Return whether the given tag is mandatory or not in the given IFD and data type according to the EXIF...
Definition: exif-tag.c:1256
static ExifSupportLevel get_support_level_any_type(ExifTag tag, ExifIfd ifd)
Return the support level of a tag in the given IFD, regardless of the data type.
Definition: exif-tag.c:1222
const char * exif_tag_get_title_in_ifd(ExifTag tag, ExifIfd ifd)
Return a textual title of the given tag when found in the given IFD.
Definition: exif-tag.c:1060
#define ESL_OOOO
Definition: exif-tag.c:30
static const char * exif_tag_get_stuff(ExifTag tag, get_stuff_func func)
Definition: exif-tag.c:1125
#define ESL_UNKNOWN
Definition: exif-tag.c:41
#define ESL_OMON
Definition: exif-tag.c:33
const char * exif_tag_get_description(ExifTag tag)
Definition: exif-tag.c:1159
#define ESL_NNMM
Definition: exif-tag.c:36
#define ESL_NNNO
Definition: exif-tag.c:38
const char * exif_tag_get_description_in_ifd(ExifTag tag, ExifIfd ifd)
Return a verbose textual description of the given tag when found in the given IFD.
Definition: exif-tag.c:1083
Handling EXIF tags.
#define EXIF_TAG_GPS_LONGITUDE
Definition: exif-tag.h:178
#define EXIF_TAG_GPS_DEST_LATITUDE
Definition: exif-tag.h:194
#define EXIF_TAG_GPS_PROCESSING_METHOD
Definition: exif-tag.h:201
ExifTag
EXIF tags.
Definition: exif-tag.h:34
@ EXIF_TAG_ROWS_PER_STRIP
Definition: exif-tag.h:51
@ EXIF_TAG_XP_SUBJECT
Definition: exif-tag.h:128
@ EXIF_TAG_DATE_TIME_ORIGINAL
Definition: exif-tag.h:100
@ EXIF_TAG_FNUMBER
Definition: exif-tag.h:82
@ EXIF_TAG_BODY_SERIAL_NUMBER
Definition: exif-tag.h:160
@ EXIF_TAG_LENS_SERIAL_NUMBER
Definition: exif-tag.h:164
@ EXIF_TAG_COLOR_SPACE
Definition: exif-tag.h:130
@ EXIF_TAG_LENS_SPECIFICATION
Definition: exif-tag.h:161
@ EXIF_TAG_SUBJECT_LOCATION
Definition: exif-tag.h:140
@ EXIF_TAG_ISO_SPEED_RATINGS
Definition: exif-tag.h:90
@ EXIF_TAG_PADDING
Definition: exif-tag.h:170
@ EXIF_TAG_SUB_SEC_TIME
Definition: exif-tag.h:121
@ EXIF_TAG_ORIENTATION
Definition: exif-tag.h:49
@ EXIF_TAG_GAIN_CONTROL
Definition: exif-tag.h:152
@ EXIF_TAG_ISO_SPEEDLatitudeYYY
Definition: exif-tag.h:97
@ EXIF_TAG_EXIF_IFD_POINTER
Definition: exif-tag.h:85
@ EXIF_TAG_INTEROPERABILITY_VERSION
Definition: exif-tag.h:36
@ EXIF_TAG_EXIF_VERSION
Definition: exif-tag.h:99
@ EXIF_TAG_DEVICE_SETTING_DESCRIPTION
Definition: exif-tag.h:156
@ EXIF_TAG_XP_TITLE
Definition: exif-tag.h:124
@ EXIF_TAG_EXPOSURE_MODE
Definition: exif-tag.h:147
@ EXIF_TAG_SUB_IFDS
Definition: exif-tag.h:63
@ EXIF_TAG_OECF
Definition: exif-tag.h:91
@ EXIF_TAG_XP_KEYWORDS
Definition: exif-tag.h:127
@ EXIF_TAG_FLASH_ENERGY
Definition: exif-tag.h:135
@ EXIF_TAG_SPATIAL_FREQUENCY_RESPONSE
Definition: exif-tag.h:136
@ EXIF_TAG_OFFSET_TIME_DIGITIZED
Definition: exif-tag.h:104
@ EXIF_TAG_EXPOSURE_TIME
Definition: exif-tag.h:81
@ EXIF_TAG_DATE_TIME
Definition: exif-tag.h:59
@ EXIF_TAG_RELATED_IMAGE_FILE_FORMAT
Definition: exif-tag.h:73
@ EXIF_TAG_MAX_APERTURE_VALUE
Definition: exif-tag.h:111
@ EXIF_TAG_FLASH
Definition: exif-tag.h:115
@ EXIF_TAG_STRIP_OFFSETS
Definition: exif-tag.h:48
@ EXIF_TAG_PLANAR_CONFIGURATION
Definition: exif-tag.h:55
@ EXIF_TAG_RESOLUTION_UNIT
Definition: exif-tag.h:56
@ EXIF_TAG_COMPRESSION
Definition: exif-tag.h:41
@ EXIF_TAG_MODEL
Definition: exif-tag.h:47
@ EXIF_TAG_NEW_SUBFILE_TYPE
Definition: exif-tag.h:37
@ EXIF_TAG_BITS_PER_SAMPLE
Definition: exif-tag.h:40
@ EXIF_TAG_STANDARD_OUTPUT_SENSITIVITY
Definition: exif-tag.h:94
@ EXIF_TAG_SUBJECT_DISTANCE
Definition: exif-tag.h:112
@ EXIF_TAG_IMAGE_WIDTH
Definition: exif-tag.h:38
@ EXIF_TAG_USER_COMMENT
Definition: exif-tag.h:120
@ EXIF_TAG_GPS_INFO_IFD_POINTER
Definition: exif-tag.h:89
@ EXIF_TAG_LENS_MODEL
Definition: exif-tag.h:163
@ EXIF_TAG_FOCAL_PLANE_RESOLUTION_UNIT
Definition: exif-tag.h:139
@ EXIF_TAG_APERTURE_VALUE
Definition: exif-tag.h:108
@ EXIF_TAG_IMAGE_DESCRIPTION
Definition: exif-tag.h:45
@ EXIF_TAG_STRIP_BYTE_COUNTS
Definition: exif-tag.h:52
@ EXIF_TAG_SOFTWARE
Definition: exif-tag.h:58
@ EXIF_TAG_INTEROPERABILITY_IFD_POINTER
Definition: exif-tag.h:134
@ EXIF_TAG_FLASH_PIX_VERSION
Definition: exif-tag.h:129
@ EXIF_TAG_DIGITAL_ZOOM_RATIO
Definition: exif-tag.h:149
@ EXIF_TAG_Y_RESOLUTION
Definition: exif-tag.h:54
@ EXIF_TAG_SOURCE_IMAGE_NUMBER_OF_COMPOSITE_IMAGE
Definition: exif-tag.h:166
@ EXIF_TAG_JPEG_INTERCHANGE_FORMAT
Definition: exif-tag.h:66
@ EXIF_TAG_FILE_SOURCE
Definition: exif-tag.h:143
@ EXIF_TAG_SCENE_TYPE
Definition: exif-tag.h:144
@ EXIF_TAG_ARTIST
Definition: exif-tag.h:60
@ EXIF_TAG_COMPOSITE_IMAGE
Definition: exif-tag.h:165
@ EXIF_TAG_COPYRIGHT
Definition: exif-tag.h:80
@ EXIF_TAG_COMPONENTS_CONFIGURATION
Definition: exif-tag.h:105
@ EXIF_TAG_SPECTRAL_SENSITIVITY
Definition: exif-tag.h:88
@ EXIF_TAG_YCBCR_COEFFICIENTS
Definition: exif-tag.h:68
@ EXIF_TAG_OFFSET_TIME_ORIGINAL
Definition: exif-tag.h:103
@ EXIF_TAG_ISO_SPEED
Definition: exif-tag.h:96
@ EXIF_TAG_ISO_SPEEDLatitudeZZZ
Definition: exif-tag.h:98
@ EXIF_TAG_JPEG_INTERCHANGE_FORMAT_LENGTH
Definition: exif-tag.h:67
@ EXIF_TAG_SHUTTER_SPEED_VALUE
Definition: exif-tag.h:107
@ EXIF_TAG_PIXEL_Y_DIMENSION
Definition: exif-tag.h:132
@ EXIF_TAG_TIME_ZONE_OFFSET
Definition: exif-tag.h:92
@ EXIF_TAG_PIXEL_X_DIMENSION
Definition: exif-tag.h:131
@ EXIF_TAG_RELATED_IMAGE_LENGTH
Definition: exif-tag.h:75
@ EXIF_TAG_TIFF_EP_STANDARD_ID
Definition: exif-tag.h:118
@ EXIF_TAG_TRANSFER_FUNCTION
Definition: exif-tag.h:57
@ EXIF_TAG_MAKE
Definition: exif-tag.h:46
@ EXIF_TAG_CAMERA_OWNER_NAME
Definition: exif-tag.h:159
@ EXIF_TAG_YCBCR_POSITIONING
Definition: exif-tag.h:70
@ EXIF_TAG_NEW_CFA_PATTERN
Definition: exif-tag.h:145
@ EXIF_TAG_EXPOSURE_PROGRAM
Definition: exif-tag.h:87
@ EXIF_TAG_PHOTOMETRIC_INTERPRETATION
Definition: exif-tag.h:42
@ EXIF_TAG_EXPOSURE_INDEX
Definition: exif-tag.h:141
@ EXIF_TAG_RELATED_SOUND_FILE
Definition: exif-tag.h:133
@ EXIF_TAG_LIGHT_SOURCE
Definition: exif-tag.h:114
@ EXIF_TAG_YCBCR_SUB_SAMPLING
Definition: exif-tag.h:69
@ EXIF_TAG_CFA_PATTERN
Definition: exif-tag.h:78
@ EXIF_TAG_JPEG_PROC
Definition: exif-tag.h:65
@ EXIF_TAG_CONTRAST
Definition: exif-tag.h:153
@ EXIF_TAG_SOURCE_EXPOSURE_TIMES_OF_COMPOSITE_IMAGE
Definition: exif-tag.h:167
@ EXIF_TAG_RELATED_IMAGE_WIDTH
Definition: exif-tag.h:74
@ EXIF_TAG_CFA_REPEAT_PATTERN_DIM
Definition: exif-tag.h:77
@ EXIF_TAG_SCENE_CAPTURE_TYPE
Definition: exif-tag.h:151
@ EXIF_TAG_SAMPLES_PER_PIXEL
Definition: exif-tag.h:50
@ EXIF_TAG_EXPOSURE_BIAS_VALUE
Definition: exif-tag.h:110
@ EXIF_TAG_WHITE_BALANCE
Definition: exif-tag.h:148
@ EXIF_TAG_SENSITIVITY_TYPE
Definition: exif-tag.h:93
@ EXIF_TAG_SATURATION
Definition: exif-tag.h:154
@ EXIF_TAG_SUBJECT_DISTANCE_RANGE
Definition: exif-tag.h:157
@ EXIF_TAG_CUSTOM_RENDERED
Definition: exif-tag.h:146
@ EXIF_TAG_REFERENCE_BLACK_WHITE
Definition: exif-tag.h:71
@ EXIF_TAG_RECOMMENDED_EXPOSURE_INDEX
Definition: exif-tag.h:95
@ EXIF_TAG_DATE_TIME_DIGITIZED
Definition: exif-tag.h:101
@ EXIF_TAG_BATTERY_LEVEL
Definition: exif-tag.h:79
@ EXIF_TAG_PRINT_IMAGE_MATCHING
Definition: exif-tag.h:169
@ EXIF_TAG_IMAGE_UNIQUE_ID
Definition: exif-tag.h:158
@ EXIF_TAG_MAKER_NOTE
Definition: exif-tag.h:119
@ EXIF_TAG_XML_PACKET
Definition: exif-tag.h:72
@ EXIF_TAG_FOCAL_LENGTH
Definition: exif-tag.h:116
@ EXIF_TAG_BRIGHTNESS_VALUE
Definition: exif-tag.h:109
@ EXIF_TAG_DOCUMENT_NAME
Definition: exif-tag.h:44
@ EXIF_TAG_LENS_MAKE
Definition: exif-tag.h:162
@ EXIF_TAG_IPTC_NAA
Definition: exif-tag.h:83
@ EXIF_TAG_SENSING_METHOD
Definition: exif-tag.h:142
@ EXIF_TAG_SUB_SEC_TIME_DIGITIZED
Definition: exif-tag.h:123
@ EXIF_TAG_IMAGE_LENGTH
Definition: exif-tag.h:39
@ EXIF_TAG_SUBJECT_AREA
Definition: exif-tag.h:117
@ EXIF_TAG_FOCAL_LENGTH_IN_35MM_FILM
Definition: exif-tag.h:150
@ EXIF_TAG_FOCAL_PLANE_X_RESOLUTION
Definition: exif-tag.h:137
@ EXIF_TAG_GAMMA
Definition: exif-tag.h:168
@ EXIF_TAG_X_RESOLUTION
Definition: exif-tag.h:53
@ EXIF_TAG_FILL_ORDER
Definition: exif-tag.h:43
@ EXIF_TAG_COMPRESSED_BITS_PER_PIXEL
Definition: exif-tag.h:106
@ EXIF_TAG_SUB_SEC_TIME_ORIGINAL
Definition: exif-tag.h:122
@ EXIF_TAG_TRANSFER_RANGE
Definition: exif-tag.h:64
@ EXIF_TAG_PRIMARY_CHROMATICITIES
Definition: exif-tag.h:62
@ EXIF_TAG_IMAGE_RESOURCES
Definition: exif-tag.h:84
@ EXIF_TAG_INTER_COLOR_PROFILE
Definition: exif-tag.h:86
@ EXIF_TAG_FOCAL_PLANE_Y_RESOLUTION
Definition: exif-tag.h:138
@ EXIF_TAG_INTEROPERABILITY_INDEX
Definition: exif-tag.h:35
@ EXIF_TAG_WHITE_POINT
Definition: exif-tag.h:61
@ EXIF_TAG_XP_COMMENT
Definition: exif-tag.h:125
@ EXIF_TAG_METERING_MODE
Definition: exif-tag.h:113
@ EXIF_TAG_XP_AUTHOR
Definition: exif-tag.h:126
@ EXIF_TAG_OFFSET_TIME
Definition: exif-tag.h:102
@ EXIF_TAG_SHARPNESS
Definition: exif-tag.h:155
#define EXIF_TAG_GPS_TRACK_REF
Definition: exif-tag.h:188
#define EXIF_TAG_GPS_DEST_DISTANCE_REF
Definition: exif-tag.h:199
#define EXIF_TAG_GPS_MAP_DATUM
Definition: exif-tag.h:192
#define EXIF_TAG_GPS_TIME_STAMP
Definition: exif-tag.h:181
#define EXIF_TAG_GPS_LONGITUDE_REF
Definition: exif-tag.h:177
#define EXIF_TAG_GPS_SPEED_REF
Definition: exif-tag.h:186
#define EXIF_TAG_GPS_VERSION_ID
Definition: exif-tag.h:174
#define EXIF_TAG_GPS_IMG_DIRECTION
Definition: exif-tag.h:191
#define EXIF_TAG_GPS_DEST_LONGITUDE
Definition: exif-tag.h:196
#define EXIF_TAG_GPS_DOP
Definition: exif-tag.h:185
#define EXIF_TAG_GPS_AREA_INFORMATION
Definition: exif-tag.h:202
#define EXIF_TAG_GPS_DATE_STAMP
Definition: exif-tag.h:203
#define EXIF_TAG_GPS_H_POSITIONING_ERROR
Definition: exif-tag.h:205
#define EXIF_TAG_GPS_ALTITUDE
Definition: exif-tag.h:180
#define EXIF_TAG_GPS_DEST_BEARING
Definition: exif-tag.h:198
#define EXIF_TAG_GPS_DEST_BEARING_REF
Definition: exif-tag.h:197
#define EXIF_TAG_GPS_DIFFERENTIAL
Definition: exif-tag.h:204
#define EXIF_TAG_GPS_DEST_DISTANCE
Definition: exif-tag.h:200
#define EXIF_TAG_GPS_DEST_LATITUDE_REF
Definition: exif-tag.h:193
#define EXIF_TAG_GPS_LATITUDE_REF
Definition: exif-tag.h:175
#define EXIF_TAG_GPS_LATITUDE
Definition: exif-tag.h:176
#define EXIF_TAG_GPS_IMG_DIRECTION_REF
Definition: exif-tag.h:190
#define EXIF_TAG_GPS_TRACK
Definition: exif-tag.h:189
ExifSupportLevel
What level of support a tag enjoys in the EXIF standard.
Definition: exif-tag.h:208
@ EXIF_SUPPORT_LEVEL_UNKNOWN
The meaning of this tag is unknown.
Definition: exif-tag.h:210
@ EXIF_SUPPORT_LEVEL_NOT_RECORDED
This tag is not allowed in the given IFD.
Definition: exif-tag.h:213
#define EXIF_TAG_GPS_MEASURE_MODE
Definition: exif-tag.h:184
#define EXIF_TAG_GPS_SPEED
Definition: exif-tag.h:187
#define EXIF_TAG_GPS_ALTITUDE_REF
Definition: exif-tag.h:179
#define EXIF_TAG_GPS_DEST_LONGITUDE_REF
Definition: exif-tag.h:195
#define EXIF_TAG_GPS_SATELLITES
Definition: exif-tag.h:182
#define EXIF_TAG_GPS_STATUS
Definition: exif-tag.h:183
#define _(String)
Definition: i18n.h:48
#define N_(String)
Definition: i18n.h:49
#define bindtextdomain(Domain, Directory)
Definition: i18n.h:46
MnoteAppleTag tag
const char * description
const char * title
const char * name
Table giving information about each EXIF tag.
Definition: exif-tag.c:53
ExifTag tag
Tag ID.
Definition: exif-tag.c:56
const char * description
Definition: exif-tag.c:59
const char * title
Definition: exif-tag.c:58
ExifSupportLevel esl[EXIF_IFD_COUNT][EXIF_DATA_TYPE_COUNT]
indexed by the types [ExifIfd][ExifDataType]
Definition: exif-tag.c:61
const char * name
Definition: exif-tag.c:57

libexif Generated by doxygen