3 * Copyright (C) 2001 Lutz Müller <lutz@users.sourceforge.net>
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.
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.
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., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
26 #include "exif-i18n.h"
32 const char *description;
34 {EXIF_TAG_INTEROPERABILITY_INDEX, "InteroperabilityIndex",
35 "InteroperabilityIndex",
36 N_("Indicates the identification of the Interoperability rule. "
37 "Use \"R98\" for stating ExifR98 Rules. Four bytes used "
38 "including the termination code (NULL). see the separate "
39 "volume of Recommended Exif Interoperability Rules (ExifR98) "
40 "for other tags used for ExifR98.")},
41 {EXIF_TAG_INTEROPERABILITY_VERSION, "InteroperabilityVersion",
42 "InteroperabilityVersion", ""},
43 {EXIF_TAG_IMAGE_WIDTH, "ImageWidth", N_("Image Width"),
44 N_("The number of colums of image data, equal to the number of "
45 "pixels per row. In JPEG compressed data a JPEG marker is "
46 "used instead of this tag.")},
47 {EXIF_TAG_IMAGE_LENGTH, "ImageLength", N_("Image Length"),
48 N_("The number of rows of image data. In JPEG compressed data a "
49 "JPEG marker is used instead of this tag.")},
50 {EXIF_TAG_BITS_PER_SAMPLE, "BitsPerSample", N_("Bits per Sample"),
51 N_("The number of bits per image component. In this standard each "
52 "component of the image is 8 bits, so the value for this "
53 "tag is 9. See also <SamplesPerPixel>. In JPEG compressed data "
54 "a JPEG marker is used instead of this tag.")},
55 {EXIF_TAG_COMPRESSION, "Compression", N_("Compression"),
56 N_("The compression scheme used for the image data. When a "
57 "primary image is JPEG compressed, this designation is "
58 "not necessary and is omitted. When thumbnails use JPEG "
59 "compression, this tag value is set to 6.")},
60 {EXIF_TAG_PHOTOMETRIC_INTERPRETATION, "PhotometricInterpretation",
61 N_("Photometric Interpretation"),
62 N_("The pixel composition. In JPEG compressed data a JPEG "
63 "marker is used instead of this tag.")},
64 {EXIF_TAG_FILL_ORDER, "FillOrder", "FillOrder", ""},
65 {EXIF_TAG_DOCUMENT_NAME, "DocumentName", N_("Document Name"), ""},
66 {EXIF_TAG_IMAGE_DESCRIPTION, "ImageDescription",
67 N_("Image Description"),
68 N_("A character string giving the title of the image. It may be "
69 "a comment such as \"1988 company picnic\" or "
70 "the like. Two-byte character codes cannot be used. "
71 "When a 2-byte code is necessary, the Exif Private tag "
72 "<UserComment> is to be used.")},
73 {EXIF_TAG_MAKE, "Make", N_("Manufacturer"),
74 N_("The manufacturer of the recording "
75 "equipment. This is the manuracturer of the DSC, scanner, "
76 "video digitizer or other equipment that generated the "
77 "image. When the field is left blank, it is treated as "
79 {EXIF_TAG_MODEL, "Model", N_("Model"),
80 N_("The model name or model number of the equipment. This is the "
81 "model name or number of the DSC, scanner, video digitizer "
82 "or other equipment that generated the image. When the field "
83 "is left blank, it is treated as unknown.")},
84 {EXIF_TAG_STRIP_OFFSETS, "StripOffsets", N_("Strip Offsets"),
85 N_("For each strip, the byte offset of that strip. It is "
86 "recommended that this be selected so the number of strip "
87 "bytes does not exceed 64 Kbytes. With JPEG compressed "
88 "data this designation is not needed and is omitted. See also "
89 "<RowsPerStrip> and <StripByteCounts>.")},
90 {EXIF_TAG_ORIENTATION, "Orientation", N_("Orientation"),
91 N_("The image orientation viewed in terms of rows and colums.")},
92 {EXIF_TAG_SAMPLES_PER_PIXEL, "SamplesPerPixel",
93 N_("Samples per Pixel"),
94 N_("The number of components per pixel. Since this standard applies "
95 "to RGB and YCbCr images, the value set for this tag is 3. "
96 "In JPEG compressed data a JPEG marker is used instead of this "
98 {EXIF_TAG_ROWS_PER_STRIP, "RowsPerStrip", N_("Rows per Strip"),
99 N_("The number of rows per strip. This is the number of rows "
100 "in the image of one strip when an image is divided into "
101 "strips. With JPEG compressed data this designation is not "
102 "needed and is omitted. See also <RowsPerStrip> and "
103 "<StripByteCounts>.")},
104 {EXIF_TAG_STRIP_BYTE_COUNTS, "StripByteCounts", N_("Strip Byte Count"),
105 N_("The total number of bytes in each strip. With JPEG compressed "
106 "data this designation is not needed and is omitted.")},
107 {EXIF_TAG_X_RESOLUTION, "XResolution", N_("x-Resolution"),
108 N_("The number of pixels per <ResolutionUnit> in the <ImageWidth> "
109 "direction. When the image resolution is unknown, 72 [dpi] "
111 {EXIF_TAG_Y_RESOLUTION, "YResolution", N_("y-Resolution"),
112 N_("The number of pixels per <ResolutionUnit> in the <ImageLength> "
113 "direction. The same value as <XResolution> is designated.")},
114 {EXIF_TAG_PLANAR_CONFIGURATION, "PlanarConfiguration",
115 N_("Planar Configuration"),
116 N_("Indicates whether pixel components are recorded in a chunky "
117 "or planar format. In JPEG compressed files a JPEG marker "
118 "is used instead of this tag. If this field does not exist, "
119 "the TIFF default of 1 (chunky) is assumed.")},
120 {EXIF_TAG_RESOLUTION_UNIT, "ResolutionUnit", N_("Resolution Unit"),
121 N_("The unit for measuring <XResolution> and <YResolution>. The same "
122 "unit is used for both <XResolution> and <YResolution>. If "
123 "the image resolution is unknown, 2 (inches) is designated.")},
124 {EXIF_TAG_TRANSFER_FUNCTION, "TransferFunction",
125 N_("Transfer Function"),
126 N_("A transfer function for the image, described in tabular style. "
127 "Normally this tag is not necessary, since color space is "
128 "specified in the color space information tag (<ColorSpace>).")},
129 {EXIF_TAG_SOFTWARE, "Software", N_("Software"),
130 N_("This tag records the name and version of the software or "
131 "firmware of the camera or image input device used to "
132 "generate the image. The detailed format is not specified, but "
133 "it is recommended that the example shown below be "
134 "followed. When the field is left blank, it is treated as "
136 {EXIF_TAG_DATE_TIME, "DateTime", N_("Date and Time"),
137 N_("The date and time of image creation. In this standard "
138 "(EXIF-2.1) it is the date and time the file was changed.")},
139 {EXIF_TAG_ARTIST, "Artist", N_("Artist"),
140 N_("This tag records the name of the camera owner, photographer or "
141 "image creator. The detailed format is not specified, but it is "
142 "recommended that the information be written as in the example "
143 "below for ease of Interoperability. When the field is "
144 "left blank, it is treated as unknown.")},
145 {EXIF_TAG_WHITE_POINT, "WhitePoint", N_("White Point"),
146 N_("The chromaticity of the white point of the image. Normally "
147 "this tag is not necessary, since color space is specified "
148 "in the colorspace information tag (<ColorSpace>).")},
149 {EXIF_TAG_PRIMARY_CHROMATICITIES, "PrimaryChromaticities",
150 N_("Primary Chromaticities"),
151 N_("The chromaticity of the three primary colors of the image. "
152 "Normally this tag is not necessary, since colorspace is "
153 "specified in the colorspace information tag (<ColorSpace>).")},
154 {EXIF_TAG_TRANSFER_RANGE, "TransferRange", N_("Transfer Range"), ""},
155 {EXIF_TAG_JPEG_PROC, "JPEGProc", "JPEGProc", ""},
156 {EXIF_TAG_JPEG_INTERCHANGE_FORMAT, "JPEGInterchangeFormat",
157 N_("JPEG Interchange Format"),
158 N_("The offset to the start byte (SOI) of JPEG compressed "
159 "thumbnail data. This is not used for primary image "
161 {EXIF_TAG_JPEG_INTERCHANGE_FORMAT_LENGTH,
162 "JPEGInterchangeFormatLength", N_("JPEG Interchange Format Length"),
163 N_("The number of bytes of JPEG compressed thumbnail data. This "
164 "is not used for primary image JPEG data. JPEG thumbnails "
165 "are not divided but are recorded as a continuous JPEG "
166 "bitstream from SOI to EOI. Appn and COM markers should "
167 "not be recorded. Compressed thumbnails must be recorded in no "
168 "more than 64 Kbytes, including all other data to be "
169 "recorded in APP1.")},
170 {EXIF_TAG_YCBCR_COEFFICIENTS, "YCbCrCoefficients",
171 N_("YCbCr Coefficients"),
172 N_("The matrix coefficients for transformation from RGB to YCbCr "
173 "image data. No default is given in TIFF; but here the "
174 "value given in Appendix E, \"Color Space Guidelines\", is used "
175 "as the default. The color space is declared in a "
176 "color space information tag, with the default being the value "
177 "that gives the optimal image characteristics "
178 "Interoperability this condition.")},
179 {EXIF_TAG_YCBCR_SUB_SAMPLING, "YCbCrSubSampling",
180 N_("YCbCr Sub-Sampling"),
181 N_("The sampling ratio of chrominance components in relation to the "
182 "luminance component. In JPEG compressed data a JPEG marker "
183 "is used instead of this tag.")},
184 {EXIF_TAG_YCBCR_POSITIONING, "YCbCrPositioning",
185 N_("YCbCr Positioning"),
186 N_("The position of chrominance components in relation to the "
187 "luminance component. This field is designated only for "
188 "JPEG compressed data or uncompressed YCbCr data. The TIFF "
189 "default is 1 (centered); but when Y:Cb:Cr = 4:2:2 it is "
190 "recommended in this standard that 2 (co-sited) be used to "
191 "record data, in order to improve the image quality when viewed "
192 "on TV systems. When this field does not exist, the reader shall "
193 "assume the TIFF default. In the case of Y:Cb:Cr = 4:2:0, the "
194 "TIFF default (centered) is recommended. If the reader "
195 "does not have the capability of supporting both kinds of "
196 "<YCbCrPositioning>, it shall follow the TIFF default regardless "
197 "of the value in this field. It is preferable that readers "
198 "be able to support both centered and co-sited positioning.")},
199 {EXIF_TAG_REFERENCE_BLACK_WHITE, "ReferenceBlackWhite",
200 N_("Reference Black/White"),
201 N_("The reference black point value and reference white point "
202 "value. No defaults are given in TIFF, but the values "
203 "below are given as defaults here. The color space is declared "
204 "in a color space information tag, with the default "
205 "being the value that gives the optimal image characteristics "
206 "Interoperability these conditions.")},
207 {EXIF_TAG_RELATED_IMAGE_FILE_FORMAT, "RelatedImageFileFormat",
208 "RelatedImageFileFormat", ""},
209 {EXIF_TAG_RELATED_IMAGE_WIDTH, "RelatedImageWidth",
210 "RelatedImageWidth", ""},
211 {EXIF_TAG_RELATED_IMAGE_LENGTH, "RelatedImageLength",
212 "RelatedImageLength", ""},
213 {EXIF_TAG_CFA_REPEAT_PATTERN_DIM, "CFARepeatPatternDim",
214 "CFARepeatPatternDim", ""},
215 {EXIF_TAG_CFA_PATTERN, "CFAPattern",
217 N_("Indicates the color filter array (CFA) geometric pattern of the "
218 "image sensor when a one-chip color area sensor is used. "
219 "It does not apply to all sensing methods.")},
220 {EXIF_TAG_BATTERY_LEVEL, "BatteryLevel", N_("Battery Level"), ""},
221 {EXIF_TAG_COPYRIGHT, "Copyright", N_("Copyright"),
222 N_("Copyright information. In this standard the tag is used to "
223 "indicate both the photographer and editor copyrights. It is "
224 "the copyright notice of the person or organization claiming "
225 "rights to the image. The Interoperability copyright "
226 "statement including date and rights should be written in this "
227 "field; e.g., \"Copyright, John Smith, 19xx. All rights "
228 "reserved.\". In this standard the field records both the "
229 "photographer and editor copyrights, with each recorded in a "
230 "separate part of the statement. When there is a clear "
231 "distinction between the photographer and editor copyrights, "
232 "these are to be written in the order of photographer followed "
233 "by editor copyright, separated by NULL (in this case, "
234 "since the statement also ends with a NULL, there are two NULL "
235 "codes) (see example 1). When only the photographer is given, "
236 "it is terminated by one NULL code (see example 2). When only "
237 "the editor copyright is given, "
238 "the photographer copyright part consists of one space followed "
239 "by a terminating NULL code, then the editor copyright is given "
240 "(see example 3). When the field is left blank, it is treated "
242 {EXIF_TAG_EXPOSURE_TIME, "ExposureTime", N_("Exposure Time"),
243 N_("Exposure time, given in seconds (sec).")},
244 {EXIF_TAG_FNUMBER, "FNumber", "FNumber",
245 N_("The F number.")},
246 {EXIF_TAG_IPTC_NAA, "IPTC/NAA", "IPTC/NAA", ""},
247 {EXIF_TAG_EXIF_IFD_POINTER, "ExifIFDPointer", "ExifIFDPointer",
248 N_("A pointer to the Exif IFD. Interoperability, Exif IFD has the "
249 "same structure as that of the IFD specified in TIFF. "
250 "ordinarily, however, it does not contain image data as in "
251 "the case of TIFF.")},
252 {EXIF_TAG_INTER_COLOR_PROFILE, "InterColorProfile",
253 "InterColorProfile", ""},
254 {EXIF_TAG_EXPOSURE_PROGRAM, "ExposureProgram", "ExposureProgram",
255 N_("The class of the program used by the camera to set exposure "
256 "when the picture is taken.")},
257 {EXIF_TAG_SPECTRAL_SENSITIVITY, "SpectralSensitivity",
258 N_("SpectralSensitivity"),
259 N_("Indicates the spectral sensitivity of each channel of the "
260 "camera used. The tag value is an ASCII string compatible "
261 "with the standard developed by the ASTM Technical committee.")},
262 {EXIF_TAG_GPS_INFO_IFD_POINTER, "GPSInfoIFDPointer",
264 N_("A pointer to the GPS Info IFD. The "
265 "Interoperability structure of the GPS Info IFD, like that of "
266 "Exif IFD, has no image data.")},
268 {EXIF_TAG_GPS_VERSION_ID, "GPSVersionID", "",
269 N_("Indicates the version of <GPSInfoIFD>. The version is given "
270 "as 2.0.0.0. This tag is mandatory when <GPSInfo> tag is "
271 "present. (Note: The <GPSVersionID tag is given in bytes, "
272 "unlike the <ExifVersion> tag. When the version is "
273 "2.0.0.0, the tag value is 02000000.H).")},
274 {EXIF_TAG_GPS_LATITUDE_REF, "GPSLatitudeRef", ""
275 N_("Indicates whether the latitude is north or south latitude. The "
276 "ASCII value 'N' indicates north latitude, and 'S' is south "
278 {EXIF_TAG_GPS_LATITUDE, "GPSLatitude", ""
279 N_("Indicates the latitude. The latitude is expressed as three "
280 "RATIONAL values giving the degrees, minutes, and seconds, "
281 "respectively. When degrees, minutes and seconds are expressed, "
282 "the format is dd/1,mm/1,ss/1. When degrees and minutes are used "
283 "and, for example, fractions of minutes are given up to two "
284 "two decimal places, the format is dd/1,mmmm/100,0/1.")},
285 {EXIF_TAG_GPS_LONGITUDE_REF, "GPSLongitudeRef", ""
286 N_("Indicates whether the longitude is east or west longitude. "
287 "ASCII 'E' indicates east longitude, and 'W' is west "
289 {EXIF_TAG_GPS_LONGITUDE, "GPSLongitude", ""
290 N_("Indicates the longitude. The longitude is expressed as three "
291 "RATIONAL values giving the degrees, minutes, and seconds, "
292 "respectively. When degrees, minutes and seconds are expressed, "
293 "the format is ddd/1,mm/1,ss/1. When degrees and minutes are "
294 "used and, for example, fractions of minutes are given up to "
295 "two decimal places, the format is ddd/1,mmmm/100,0/1.")},
297 {EXIF_TAG_ISO_SPEED_RATINGS, "ISOSpeedRatings",
298 N_("ISO Speed Ratings"),
299 N_("Indicates the ISO Speed and ISO Latitude of the camera or "
300 "input device as specified in ISO 12232.")},
301 {EXIF_TAG_OECF, "OECF", "OECF",
302 N_("Indicates the Opto-Electoric Conversion Function (OECF) "
303 "specified in ISO 14524. <OECF> is the relationship between "
304 "the camera optical input and the image values.")},
305 {EXIF_TAG_EXIF_VERSION, "ExifVersion", N_("Exif Version"),
306 N_("The version of this standard supported. Nonexistence of this "
307 "field is taken to mean nonconformance to the standard.")},
308 {EXIF_TAG_DATE_TIME_ORIGINAL, "DateTimeOriginal",
309 N_("Date and Time (original)"),
310 N_("The date and time when the original image data was generated. "
311 "For a digital still camera "
312 "the date and time the picture was taken are recorded.")},
313 {EXIF_TAG_DATE_TIME_DIGITIZED, "DateTimeDigitized",
314 N_("Date and Time (digitized)"),
315 N_("The date and time when the image was stored as digital data. ")},
316 {EXIF_TAG_COMPONENTS_CONFIGURATION, "ComponentsConfiguration",
317 "ComponentsConfiguration",
318 N_("Information specific to compressed data. The channels of "
319 "each component are arranged in order from the 1st "
320 "component to the 4th. For uncompressed data the data "
321 "arrangement is given in the <PhotometricInterpretation> tag. "
322 "However, since <PhotometricInterpretation> can only "
323 "express the order of Y, Cb and Cr, this tag is provided "
324 "for cases when compressed data uses components other than "
325 "Y, Cb, and Cr and to enable support of other sequences.")},
326 {EXIF_TAG_COMPRESSED_BITS_PER_PIXEL, "CompressedBitsPerPixel",
327 N_("Compressed Bits per Pixel"),
328 N_("Information specific to compressed data. The compression mode "
329 "used for a compressed image is indicated in unit bits "
331 {EXIF_TAG_SHUTTER_SPEED_VALUE, "ShutterSpeedValue", N_("Shutter speed"),
332 N_("Shutter speed. The unit is the APEX (Additive System of "
333 "Photographic Exposure) setting (see Appendix C).")},
334 {EXIF_TAG_APERTURE_VALUE, "ApertureValue", N_("Aperture"),
335 N_("The lens aperture. The unit is the APEX value.")},
336 {EXIF_TAG_BRIGHTNESS_VALUE, "BrightnessValue", N_("Brightness"),
337 N_("The value of brightness. The unit is the APEX value. "
338 "Ordinarily it is given in the range of -99.99 to 99.99.")},
339 {EXIF_TAG_EXPOSURE_BIAS_VALUE, "ExposureBiasValue",
341 N_("The exposure bias. The units is the APEX value. Ordinarily "
342 "it is given in the range of -99.99 to 99.99.")},
343 {EXIF_TAG_MAX_APERTURE_VALUE, "MaxApertureValue", "MaxApertureValue",
344 N_("The smallest F number of the lens. The unit is the APEX value. "
345 "Ordinarily it is given in the range of 00.00 to 99.99, "
346 "but it is not limited to this range.")},
347 {EXIF_TAG_SUBJECT_DISTANCE, "SubjectDistance",
348 N_("Subject Distance"),
349 N_("The distance to the subject, given in meters.")},
350 {EXIF_TAG_METERING_MODE, "MeteringMode", N_("Metering Mode"),
351 N_("The metering mode.")},
352 {EXIF_TAG_LIGHT_SOURCE, "LightSource", N_("Light Source"),
353 N_("The kind of light source.")},
354 {EXIF_TAG_FLASH, "Flash", N_("Flash"),
355 N_("This tag is recorded when an image is taken using a strobe "
357 {EXIF_TAG_FOCAL_LENGTH, "FocalLength", N_("Focal Length"),
358 N_("The actual focal length of the lens, in mm. Conversion is not "
359 "made to the focal length of a 35 mm film camera.")},
360 {EXIF_TAG_MAKER_NOTE, "MakerNote", "MakerNote",
361 N_("A tag for manufacturers of Exif writers to record any desired "
362 "information. The contents are up to the manufacturer.")},
363 {EXIF_TAG_USER_COMMENT, "UserComment", N_("User Comment"),
364 N_("A tag for Exif users to write keywords or comments on the image "
365 "besides those in <ImageDescription>, and without the "
366 "character code limitations of the <ImageDescription> tag. The "
367 "character code used in the <UserComment> tag is identified "
368 "based on an ID code in a fixed 8-byte area at the start of "
369 "the tag data area. The unused portion of the area is padded "
370 "with NULL (\"00.h\"). ID codes are assigned by means of "
371 "registration. The designation method and references for each "
372 "character code are given in Table 6. The value of CountN "
373 "is determinated based on the 8 bytes in the character code "
374 "area and the number of bytes in the user comment part. Since "
375 "the TYPE is not ASCII, NULL termination is not necessary "
377 "The ID code for the <UserComment> area may be a Defined code "
378 "such as JIS or ASCII, or may be Undefined. The Undefined name "
379 "is UndefinedText, and the ID code is filled with 8 bytes of all "
380 "\"NULL\" (\"00.H\"). An Exif reader that reads the "
381 "<UserComment> tag must have a function for determining the "
382 "ID code. This function is not required in Exif readers that "
383 "do not use the <UserComment> tag (see Table 7). "
384 "When a <UserComment> area is set aside, it is recommended that "
385 "the ID code be ASCII and that the following user comment "
386 "part be filled with blank characters [20.H].")},
387 {EXIF_TAG_SUBSEC_TIME, "SubsecTime", "SubsecTime",
388 N_("A tag used to record fractions of seconds for the "
390 {EXIF_TAG_SUB_SEC_TIME_ORIGINAL, "SubSecTimeOriginal",
391 "SubSecTimeOriginal",
392 N_("A tag used to record fractions of seconds for the "
393 "<DateTimeOriginal> tag.")},
394 {EXIF_TAG_SUB_SEC_TIME_DIGITIZED, "SubSecTimeDigitized",
395 "SubSecTimeDigitized",
396 N_("A tag used to record fractions of seconds for the "
397 "<DateTimeDigitized> tag.")},
398 {EXIF_TAG_FLASH_PIX_VERSION, "FlashPixVersion", "FlashPixVersion",
399 N_("The FlashPix format version supported by a FPXR file.")},
400 {EXIF_TAG_COLOR_SPACE, "ColorSpace", N_("Color Space"),
401 N_("The color space information tag (<ColorSpace>) is always "
402 "recorede as the color space specifier. Normally sRGB (=1) "
403 "is used to define the color space based on the PC monitor "
404 "conditions and environment. If a color space other than "
405 "sRGB is used, Uncalibrated (=FFFF.H) is set. Image data "
406 "recorded as Uncalibrated can be treated as sRGB when it is "
407 "converted to FlashPix. On sRGB see Appendix E.")},
408 {EXIF_TAG_PIXEL_X_DIMENSION, "PixelXDimension", "PixelXDimension",
409 N_("Information specific to compressed data. When a "
410 "compressed file is recorded, the valid width of the "
411 "meaningful image must be recorded in this tag, whether or "
412 "not there is padding data or a restart marker. This tag "
413 "should not exist in an uncompressed file. For details see "
414 "section 2.8.1 and Appendix F.")},
415 {EXIF_TAG_PIXEL_Y_DIMENSION, "PixelYDimension", "PixelYDimension",
416 N_("Information specific to compressed data. When a compressed "
417 "file is recorded, the valid height of the meaningful image "
418 "must be recorded in this tag, whether or not there is padding "
419 "data or a restart marker. This tag should not exist in an "
420 "uncompressed file. For details see section 2.8.1 and Appendix "
421 "F. Since data padding is unnecessary in the vertical direction, "
422 "the number of lines recorded in this valid image height tag "
423 "will in fact be the same as that recorded in the SOF.")},
424 {EXIF_TAG_RELATED_SOUND_FILE, "RelatedSoundFile",
426 N_("This tag is used to record the name of an audio file related "
427 "to the image data. The only relational information "
428 "recorded here is the Exif audio file name and extension (an "
429 "ASCII string consisting of 8 characters + '.' + 3 "
430 "characters). The path is not recorded. Stipulations on audio "
431 "are given in section 3.6.3. File naming conventions are "
432 "given in section 3.7.1. "
433 "When using this tag, audio files must be recorded in "
434 "conformance to the Exif audio format. Writers are also allowed "
435 "to store the data such as Audio within APP2 as FlashPix "
436 "extension stream data. "
437 "Audio files must be recorded in conformance to the Exif audio "
438 "format. The mapping of Exif image files and audio files is done "
439 "in any of the three ways shown in Table 8. If multiple files "
440 "are mapped to one file as in [2] or [3] of this table, the above "
441 "format is used to record just one audio file name. If "
442 "there are multiple audio files, the first recorded file is "
443 "given. In the case of [3] in Table 8, for example, for the "
444 "Exif image file \"DSC00001.JPG\" only \"SND00001.WAV\" is "
445 "given as the related Exif audio file. When there are three "
446 "Exif audio files \"SND00001.WAV\", \"SND00002.WAV\" and "
447 "\"SND00003.WAV\", the Exif image file name for each of them, "
448 "\"DSC00001.JPG\", is indicated. By combining multiple "
449 "relational information, a variety of playback possibilities "
450 "can be supported. The method of using relational information "
451 "is left to the implementation on the playback side. Since this "
452 "information is an ASCII character string, it is terminated by "
453 "NULL. When this tag is used to map audio files, the relation "
454 "of the audio file to image data must also be indicated on the "
456 {EXIF_TAG_INTEROPERABILITY_IFD_POINTER, "InteroperabilityIFDPointer",
457 "InteroperabilityIFDPointer",
458 N_("Interoperability IFD is composed of tags which stores the "
459 "information to ensure the Interoperability and pointed "
460 "by the following tag located in Exif IFD. "
461 "The Interoperability structure of Interoperability IFD is "
462 "the same as TIFF defined IFD structure "
463 "but does not contain the "
464 "image data characteristically compared with normal TIFF "
466 {EXIF_TAG_FLASH_ENERGY, "FlashEnergy", N_("Flash Energy"),
467 N_("Indicates the strobe energy at the time the image is "
468 "captured, as measured in Beam Candle Power Seconds (BCPS).")},
469 {EXIF_TAG_SPATIAL_FREQUENCY_RESPONSE, "SpatialFrequencyResponse",
470 N_("Spatial Frequency Response"),
471 N_("This tag records the camera or input device spatial frequency "
472 "table and SFR values in the direction of image width, "
473 "image height, and diagonal direction, as specified in ISO "
475 {EXIF_TAG_FOCAL_PLANE_X_RESOLUTION, "FocalPlaneXResolution",
476 N_("Focal Plane x-Resolution"),
477 N_("Indicates the number of pixels in the image width (X) direction "
478 "per <FocalPlaneResolutionUnit> on the camera focal plane.")},
479 {EXIF_TAG_FOCAL_PLANE_Y_RESOLUTION, "FocalPlaneYResolution",
480 N_("Focal Plane y-Resolution"),
481 N_("Indicates the number of pixels in the image height (V) direction "
482 "per <FocalPlaneResolutionUnit> on the camera focal plane.")},
483 {EXIF_TAG_FOCAL_PLANE_RESOLUTION_UNIT, "FocalPlaneResolutionUnit",
484 N_("Focal Plane Resolution Unit"),
485 N_("Indicates the unit for measuring <FocalPlaneXResolution> and "
486 "<FocalPlaneYResolution>. This value is the same as the "
487 "<ResolutionUnit>.")},
488 {EXIF_TAG_SUBJECT_LOCATION, "SubjectLocation",
489 N_("Subject Location"),
490 N_("Indicates the location of the main subject in the scene. The "
491 "value of this tag represents the pixel at the center of the "
492 "main subject relative to the left edge, prior to rotation "
493 "processing as per the <Rotation> tag. The first value "
494 "indicates the X column number and second indicates "
495 "the Y row number.")},
496 {EXIF_TAG_EXPOSURE_INDEX, "ExposureIndex", "",
497 N_("Indicates the exposure index selected on the camera or "
498 "input device at the time the image is captured.")},
499 {EXIF_TAG_SENSING_METHOD, "SensingMethod", N_("Sensing Method"),
500 N_("Indicates the image sensor type on the camera or input "
502 {EXIF_TAG_FILE_SOURCE, "FileSource", N_("File Source"),
503 N_("Indicates the image source. If a DSC recorded the image, "
504 "this tag value of this tag always be set to 3, indicating "
505 "that the image was recorded on a DSC.")},
506 {EXIF_TAG_SCENE_TYPE, "SceneType", N_("Scene Type"),
507 N_("Indicates the type of scene. If a DSC recorded the image, "
508 "this tag value must always be set to 1, indicating that the "
509 "image was directly photographed.")},
510 {EXIF_TAG_NEW_CFA_PATTERN, "CFAPattern",
512 N_("Indicates the color filter array (CFA) geometric pattern of the "
513 "image sensor when a one-chip color area sensor is used. "
514 "It does not apply to all sensing methods.")},
515 {EXIF_TAG_SUBJECT_AREA, "SubjectArea", N_("Subject Area"),
516 N_("This tag indicates the location and area of the main subject "
517 "in the overall scene.")},
518 {EXIF_TAG_CUSTOM_RENDERED, "CustomRendered", N_("Custom Rendered"),
519 N_("This tag indicates the use of special processing on image "
520 "data, such as rendering geared to output. When special "
521 "processing is performed, the reader is expected to disable "
522 "or minimize any further processing.")},
523 {EXIF_TAG_EXPOSURE_MODE, "ExposureMode", N_("Exposure Mode"),
524 N_("This tag indicates the exposure mode set when the image was "
525 "shot. In auto-bracketing mode, the camera shoots a series of "
526 "frames of the same scene at different exposure settings.")},
527 {EXIF_TAG_WHITE_BALANCE, "WhiteBalance", N_("White Balance"),
528 N_("This tag indicates the white balance mode set when the image "
530 {EXIF_TAG_DIGITAL_ZOOM_RATIO, "DigitalZoomRatio",
531 N_("Digital Zoom Ratio"),
532 N_("This tag indicates the digital zoom ratio when the image was "
533 "shot. If the numerator of the recorded value is 0, this "
534 "indicates that digital zoom was not used.")},
535 {EXIF_TAG_FOCAL_LENGTH_IN_35MM_FILM, "FocalLengthIn35mmFilm",
536 N_("Focal Length In 35mm Film"),
537 N_("This tag indicates the equivalent focal length assuming a "
538 "35mm film camera, in mm. A value of 0 means the focal "
539 "length is unknown. Note that this tag differs from the "
540 "FocalLength tag.")},
541 {EXIF_TAG_SCENE_CAPTURE_TYPE, "SceneCaptureType",
542 N_("Scene Capture Type"),
543 N_("This tag indicates the type of scene that was shot. It can "
544 "also be used to record the mode in which the image was "
545 "shot. Note that this differs from the scene type "
546 "(SceneType) tag.")},
547 {EXIF_TAG_GAIN_CONTROL, "GainControl", N_("Gain Control"),
548 N_("This tag indicates the degree of overall image gain "
550 {EXIF_TAG_CONTRAST, "Contrast", N_("Contrast"),
551 N_("This tag indicates the direction of contrast processing "
552 "applied by the camera when the image was shot.")},
553 {EXIF_TAG_SATURATION, "Saturation", N_("Saturation"),
554 N_("This tag indicates the direction of saturation processing "
555 "applied by the camera when the image was shot.")},
556 {EXIF_TAG_SHARPNESS, "Sharpness", N_("Sharpness"),
557 N_("This tag indicates the direction of sharpness processing "
558 "applied by the camera when the image was shot.")},
559 {EXIF_TAG_DEVICE_SETTING_DESCRIPTION, "DeviceSettingDescription",
560 N_("Device Setting Description"),
561 N_("This tag indicates information on the picture-taking "
562 "conditions of a particular camera model. The tag is used "
563 "only to indicate the picture-taking conditions in the "
565 {EXIF_TAG_SUBJECT_DISTANCE_RANGE, "SubjectDistanceRange",
566 N_("Subject Distance Range"),
567 N_("This tag indicates the distance to the subject.")},
568 {EXIF_TAG_IMAGE_UNIQUE_ID, "ImageUniqueID", N_("Image Unique ID"),
569 N_("This tag indicates an identifier assigned uniquely to "
570 "each image. It is recorded as an ASCII string equivalent "
571 "to hexadecimal notation and 128-bit fixed length.")},
572 {0, NULL, NULL, NULL}
576 exif_tag_get_name (ExifTag tag)
580 for (i = 0; ExifTagTable[i].name; i++)
581 if (ExifTagTable[i].tag == tag)
584 return (ExifTagTable[i].name);
588 exif_tag_get_title (ExifTag tag)
592 for (i = 0; ExifTagTable[i].title; i++)
593 if (ExifTagTable[i].tag == tag)
596 return (ExifTagTable[i].title);
600 exif_tag_get_description (ExifTag tag)
604 for (i = 0; ExifTagTable[i].description; i++)
605 if (ExifTagTable[i].tag == tag)
608 return (ExifTagTable[i].description);