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

libexif Generated by doxygen