00001 /* exif-tag.c 00002 * 00003 * Copyright (c) 2001 Lutz Mueller <lutz@users.sourceforge.net> 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Lesser General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2 of the License, or (at your option) any later version. 00009 * 00010 * This library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Lesser General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Lesser General Public 00016 * License along with this library; if not, write to the 00017 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00018 * Boston, MA 02110-1301 USA. 00019 */ 00020 00021 #include <config.h> 00022 00023 #include <libexif/exif-tag.h> 00024 #include <libexif/i18n.h> 00025 00026 #include <stdlib.h> 00027 #include <string.h> 00028 00029 #define ESL_NNNN { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED } 00030 #define ESL_OOOO { EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL } 00031 #define ESL_MMMN { EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_NOT_RECORDED } 00032 #define ESL_MMMM { EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY } 00033 #define ESL_OMON { EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_NOT_RECORDED } 00034 #define ESL_NNOO { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_OPTIONAL, EXIF_SUPPORT_LEVEL_OPTIONAL } 00035 #define ESL_NNMN { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_NOT_RECORDED } 00036 #define ESL_NNMM { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_MANDATORY, EXIF_SUPPORT_LEVEL_MANDATORY } 00037 #define ESL_NNNM { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_MANDATORY } 00038 #define ESL_NNNO { EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_NOT_RECORDED, EXIF_SUPPORT_LEVEL_OPTIONAL } 00039 #define ESL_GPS { ESL_NNNN, ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN } 00040 00051 static const struct TagEntry { 00054 ExifTag tag; 00055 const char *name; 00056 const char *title; 00057 const char *description; 00059 ExifSupportLevel esl[EXIF_IFD_COUNT][EXIF_DATA_TYPE_COUNT]; 00060 } ExifTagTable[] = { 00061 #ifndef NO_VERBOSE_TAG_STRINGS 00062 {EXIF_TAG_GPS_VERSION_ID, "GPSVersionID", N_("GPS Tag Version"), 00063 N_("Indicates the version of <GPSInfoIFD>. The version is given " 00064 "as 2.0.0.0. This tag is mandatory when <GPSInfo> tag is " 00065 "present. (Note: The <GPSVersionID> tag is given in bytes, " 00066 "unlike the <ExifVersion> tag. When the version is " 00067 "2.0.0.0, the tag value is 02000000.H)."), ESL_GPS}, 00068 {EXIF_TAG_INTEROPERABILITY_INDEX, "InteroperabilityIndex", 00069 N_("Interoperability Index"), 00070 N_("Indicates the identification of the Interoperability rule. " 00071 "Use /"R98/" for stating ExifR98 Rules. Four bytes used " 00072 "including the termination code (NULL). see the separate " 00073 "volume of Recommended Exif Interoperability Rules (ExifR98) " 00074 "for other tags used for ExifR98."), 00075 { ESL_NNNN, ESL_NNNN, ESL_NNNN, ESL_NNNN, ESL_OOOO } }, 00076 {EXIF_TAG_GPS_LATITUDE_REF, "GPSLatitudeRef", N_("North or South Latitude"), 00077 N_("Indicates whether the latitude is north or south latitude. The " 00078 "ASCII value 'N' indicates north latitude, and 'S' is south " 00079 "latitude."), ESL_GPS}, 00080 {EXIF_TAG_INTEROPERABILITY_VERSION, "InteroperabilityVersion", 00081 N_("Interoperability Version"), "", 00082 { ESL_NNNN, ESL_NNNN, ESL_NNNN, ESL_NNNN, ESL_OOOO } }, 00083 {EXIF_TAG_GPS_LATITUDE, "GPSLatitude", N_("Latitude"), 00084 N_("Indicates the latitude. The latitude is expressed as three " 00085 "RATIONAL values giving the degrees, minutes, and seconds, " 00086 "respectively. When degrees, minutes and seconds are expressed, " 00087 "the format is dd/1,mm/1,ss/1. When degrees and minutes are used " 00088 "and, for example, fractions of minutes are given up to two " 00089 "decimal places, the format is dd/1,mmmm/100,0/1."), 00090 ESL_GPS}, 00091 {EXIF_TAG_GPS_LONGITUDE_REF, "GPSLongitudeRef", N_("East or West Longitude"), 00092 N_("Indicates whether the longitude is east or west longitude. " 00093 "ASCII 'E' indicates east longitude, and 'W' is west " 00094 "longitude."), ESL_GPS}, 00095 {EXIF_TAG_GPS_LONGITUDE, "GPSLongitude", N_("Longitude"), 00096 N_("Indicates the longitude. The longitude is expressed as three " 00097 "RATIONAL values giving the degrees, minutes, and seconds, " 00098 "respectively. When degrees, minutes and seconds are expressed, " 00099 "the format is ddd/1,mm/1,ss/1. When degrees and minutes are " 00100 "used and, for example, fractions of minutes are given up to " 00101 "two decimal places, the format is ddd/1,mmmm/100,0/1."), 00102 ESL_GPS}, 00103 {EXIF_TAG_GPS_ALTITUDE_REF, "GPSAltitudeRef", N_("Altitude Reference"), 00104 N_("Indicates the altitude used as the reference altitude. If the " 00105 "reference is sea level and the altitude is above sea level, 0 " 00106 "is given. If the altitude is below sea level, a value of 1 is given " 00107 "and the altitude is indicated as an absolute value in the " 00108 "GSPAltitude tag. The reference unit is meters. Note that this tag " 00109 "is BYTE type, unlike other reference tags."), ESL_GPS}, 00110 {EXIF_TAG_GPS_ALTITUDE, "GPSAltitude", N_("Altitude"), 00111 N_("Indicates the altitude based on the reference in GPSAltitudeRef. " 00112 "Altitude is expressed as one RATIONAL value. The reference unit " 00113 "is meters."), ESL_GPS}, 00114 {EXIF_TAG_GPS_TIME_STAMP, "GPSTimeStamp", N_("GPS Time (Atomic Clock)"), 00115 N_("Indicates the time as UTC (Coordinated Universal Time). " 00116 "TimeStamp is expressed as three RATIONAL values giving " 00117 "the hour, minute, and second."), ESL_GPS}, 00118 {EXIF_TAG_GPS_SATELLITES, "GPSSatellites", N_("GPS Satellites"), 00119 N_("Indicates the GPS satellites used for measurements. This " 00120 "tag can be used to describe the number of satellites, their ID " 00121 "number, angle of elevation, azimuth, SNR and other information " 00122 "in ASCII notation. The format is not specified. If the GPS " 00123 "receiver is incapable of taking measurements, value of the tag " 00124 "shall be set to NULL."), ESL_GPS}, 00125 {EXIF_TAG_GPS_STATUS, "GPSStatus", N_("GPS Receiver Status"), 00126 N_("Indicates the status of the GPS receiver when the image is " 00127 "recorded. 'A' means measurement is in progress, and 'V' means " 00128 "the measurement is Interoperability."), ESL_GPS}, 00129 {EXIF_TAG_GPS_MEASURE_MODE, "GPSMeasureMode", N_("GPS Measurement Mode"), 00130 N_("Indicates the GPS measurement mode. '2' means " 00131 "two-dimensional measurement and '3' means three-dimensional " 00132 "measurement is in progress."), ESL_GPS}, 00133 {EXIF_TAG_GPS_DOP, "GPSDOP", N_("Measurement Precision"), 00134 N_("Indicates the GPS DOP (data degree of precision). An HDOP " 00135 "value is written during two-dimensional measurement, and PDOP " 00136 "during three-dimensional measurement."), ESL_GPS}, 00137 {EXIF_TAG_GPS_SPEED_REF, "GPSSpeedRef", N_("Speed Unit"), 00138 N_("Indicates the unit used to express the GPS receiver speed " 00139 "of movement. 'K', 'M' and 'N' represent kilometers per hour, " 00140 "miles per hour, and knots."), ESL_GPS}, 00141 {EXIF_TAG_GPS_SPEED, "GPSSpeed", N_("Speed of GPS Receiver"), 00142 N_("Indicates the speed of GPS receiver movement."), ESL_GPS}, 00143 {EXIF_TAG_GPS_TRACK_REF, "GPSTrackRef", N_("Reference for direction of movement"), 00144 N_("Indicates the reference for giving the direction of GPS " 00145 "receiver movement. 'T' denotes true direction and 'M' is " 00146 "magnetic direction."), ESL_GPS}, 00147 {EXIF_TAG_GPS_TRACK, "GPSTrack", N_("Direction of Movement"), 00148 N_("Indicates the direction of GPS receiver movement. The range " 00149 "of values is from 0.00 to 359.99."), ESL_GPS}, 00150 {EXIF_TAG_GPS_IMG_DIRECTION_REF, "GPSImgDirectionRef", N_("GPS Image Direction Reference"), 00151 N_("Indicates the reference for giving the direction of the image when it is captured. " 00152 "'T' denotes true direction and 'M' is magnetic direction."), ESL_GPS}, 00153 {EXIF_TAG_GPS_IMG_DIRECTION, "GPSImgDirection", N_("GPS Image Direction"), 00154 N_("Indicates the direction of the image when it was captured. The range of values is " 00155 "from 0.00 to 359.99."), ESL_GPS}, 00156 {EXIF_TAG_GPS_MAP_DATUM, "GPSMapDatum", N_("Geodetic Survey Data Used"), 00157 N_("Indicates the geodetic survey data used by the GPS " 00158 "receiver. If the survey data is restricted to Japan, the value " 00159 "of this tag is 'TOKYO' or 'WGS-84'. If a GPS Info tag is " 00160 "recorded, it is strongly recommended that this tag be recorded."), ESL_GPS}, 00161 {EXIF_TAG_GPS_DEST_LATITUDE_REF, "GPSDestLatitudeRef", N_("Reference For Latitude of Destination"), 00162 N_("Indicates whether the latitude of the destination point is " 00163 "north or south latitude. The ASCII value 'N' indicates north " 00164 "latitude, and 'S' is south latitude."), ESL_GPS}, 00165 {EXIF_TAG_GPS_DEST_LATITUDE, "GPSDestLatitude", N_("Latitude of Destination"), 00166 N_("Indicates the latitude of the destination point. The " 00167 "latitude is expressed as three RATIONAL values giving the " 00168 "degrees, minutes, and seconds, respectively. If latitude is " 00169 "expressed as degrees, minutes and seconds, a typical format " 00170 "would be dd/1,mm/1,ss/1. When degrees and minutes are used and, " 00171 "for example, fractions of minutes are given up to two decimal " 00172 "places, the format would be dd/1,mmmm/100,0/1."), ESL_GPS}, 00173 {EXIF_TAG_GPS_DEST_LONGITUDE_REF, "GPSDestLongitudeRef", N_("Reference for Longitude of Destination"), 00174 N_("Indicates whether the longitude of the destination point is " 00175 "east or west longitude. ASCII 'E' indicates east longitude, and " 00176 "'W' is west longitude."), ESL_GPS}, 00177 {EXIF_TAG_GPS_DEST_LONGITUDE, "GPSDestLongitude", N_("Longitude of Destination"), 00178 N_("Indicates the longitude of the destination point. The " 00179 "longitude is expressed as three RATIONAL values giving the " 00180 "degrees, minutes, and seconds, respectively. If longitude is " 00181 "expressed as degrees, minutes and seconds, a typical format " 00182 "would be ddd/1,mm/1,ss/1. When degrees and minutes are used " 00183 "and, for example, fractions of minutes are given up to two " 00184 "decimal places, the format would be ddd/1,mmmm/100,0/1."), 00185 ESL_GPS}, 00186 {EXIF_TAG_GPS_DEST_BEARING_REF, "GPSDestBearingRef", N_("Reference for Bearing of Destination"), 00187 N_("Indicates the reference used for giving the bearing to " 00188 "the destination point. 'T' denotes true direction and 'M' is " 00189 "magnetic direction."), ESL_GPS}, 00190 {EXIF_TAG_GPS_DEST_BEARING, "GPSDestBearing", N_("Bearing of Destination"), 00191 N_("Indicates the bearing to the destination point. The range " 00192 "of values is from 0.00 to 359.99."), ESL_GPS}, 00193 {EXIF_TAG_GPS_DEST_DISTANCE_REF, "GPSDestDistanceRef", N_("Reference for Distance to Destination"), 00194 N_("Indicates the unit used to express the distance to the " 00195 "destination point. 'K', 'M' and 'N' represent kilometers, miles " 00196 "and knots."), ESL_GPS}, 00197 {EXIF_TAG_GPS_DEST_DISTANCE, "GPSDestDistance", N_("Distance to Destination"), 00198 N_("Indicates the distance to the destination point."), ESL_GPS}, 00199 {EXIF_TAG_GPS_PROCESSING_METHOD, "GPSProcessingMethod", N_("Name of GPS Processing Method"), 00200 N_("A character string recording the name of the method used " 00201 "for location finding. The first byte indicates the character " 00202 "code used, and this is followed by the name " 00203 "of the method. Since the Type is not ASCII, NULL termination is " 00204 "not necessary."), ESL_GPS}, 00205 {EXIF_TAG_GPS_AREA_INFORMATION, "GPSAreaInformation", N_("Name of GPS Area"), 00206 N_("A character string recording the name of the GPS area. The " 00207 "first byte indicates the character code used, " 00208 "and this is followed by the name of the GPS area. Since " 00209 "the Type is not ASCII, NULL termination is not necessary."), ESL_GPS}, 00210 {EXIF_TAG_GPS_DATE_STAMP, "GPSDateStamp", N_("GPS Date"), 00211 N_("A character string recording date and time information " 00212 "relative to UTC (Coordinated Universal Time). The format is " 00213 "/"YYYY:MM:DD/". The length of the string is 11 bytes including " 00214 "NULL."), ESL_GPS}, 00215 {EXIF_TAG_GPS_DIFFERENTIAL, "GPSDifferential", N_("GPS Differential Correction"), 00216 N_("Indicates whether differential correction is applied to the " 00217 "GPS receiver."), ESL_GPS}, 00218 /* Not in EXIF 2.2 */ 00219 {EXIF_TAG_NEW_SUBFILE_TYPE, "NewSubfileType", 00220 N_("New Subfile Type"), N_("A general indication of the kind of data " 00221 "contained in this subfile.")}, 00222 {EXIF_TAG_IMAGE_WIDTH, "ImageWidth", N_("Image Width"), 00223 N_("The number of columns of image data, equal to the number of " 00224 "pixels per row. In JPEG compressed data a JPEG marker is " 00225 "used instead of this tag."), 00226 { ESL_MMMN, ESL_MMMN, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00227 {EXIF_TAG_IMAGE_LENGTH, "ImageLength", N_("Image Length"), 00228 N_("The number of rows of image data. In JPEG compressed data a " 00229 "JPEG marker is used instead of this tag."), 00230 { ESL_MMMN, ESL_MMMN, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00231 {EXIF_TAG_BITS_PER_SAMPLE, "BitsPerSample", N_("Bits per Sample"), 00232 N_("The number of bits per image component. In this standard each " 00233 "component of the image is 8 bits, so the value for this " 00234 "tag is 8. See also <SamplesPerPixel>. In JPEG compressed data " 00235 "a JPEG marker is used instead of this tag."), 00236 { ESL_MMMN, ESL_MMMN, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00237 {EXIF_TAG_COMPRESSION, "Compression", N_("Compression"), 00238 N_("The compression scheme used for the image data. When a " 00239 "primary image is JPEG compressed, this designation is " 00240 "not necessary and is omitted. When thumbnails use JPEG " 00241 "compression, this tag value is set to 6."), 00242 { ESL_MMMN, ESL_MMMM, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00243 {EXIF_TAG_PHOTOMETRIC_INTERPRETATION, "PhotometricInterpretation", 00244 N_("Photometric Interpretation"), 00245 N_("The pixel composition. In JPEG compressed data a JPEG " 00246 "marker is used instead of this tag."), 00247 { ESL_MMMN, ESL_MMMN, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00248 /* Not in EXIF 2.2 */ 00249 {EXIF_TAG_FILL_ORDER, "FillOrder", N_("Fill Order"), ""}, 00250 /* Not in EXIF 2.2 */ 00251 {EXIF_TAG_DOCUMENT_NAME, "DocumentName", N_("Document Name"), ""}, 00252 {EXIF_TAG_IMAGE_DESCRIPTION, "ImageDescription", 00253 N_("Image Description"), 00254 N_("A character string giving the title of the image. It may be " 00255 "a comment such as /"1988 company picnic/" or " 00256 "the like. Two-bytes character codes cannot be used. " 00257 "When a 2-bytes code is necessary, the Exif Private tag " 00258 "<UserComment> is to be used."), 00259 { ESL_OOOO, ESL_OOOO, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00260 {EXIF_TAG_MAKE, "Make", N_("Manufacturer"), 00261 N_("The manufacturer of the recording " 00262 "equipment. This is the manufacturer of the DSC, scanner, " 00263 "video digitizer or other equipment that generated the " 00264 "image. When the field is left blank, it is treated as " 00265 "unknown."), 00266 { ESL_OOOO, ESL_OOOO, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00267 {EXIF_TAG_MODEL, "Model", N_("Model"), 00268 N_("The model name or model number of the equipment. This is the " 00269 "model name or number of the DSC, scanner, video digitizer " 00270 "or other equipment that generated the image. When the field " 00271 "is left blank, it is treated as unknown."), 00272 { ESL_OOOO, ESL_OOOO, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00273 {EXIF_TAG_STRIP_OFFSETS, "StripOffsets", N_("Strip Offsets"), 00274 N_("For each strip, the byte offset of that strip. It is " 00275 "recommended that this be selected so the number of strip " 00276 "bytes does not exceed 64 Kbytes. With JPEG compressed " 00277 "data this designation is not needed and is omitted. See also " 00278 "<RowsPerStrip> and <StripByteCounts>."), 00279 { ESL_MMMN, ESL_MMMN, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00280 {EXIF_TAG_ORIENTATION, "Orientation", N_("Orientation"), 00281 N_("The image orientation viewed in terms of rows and columns."), 00282 { ESL_OOOO, ESL_OOOO, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00283 {EXIF_TAG_SAMPLES_PER_PIXEL, "SamplesPerPixel", 00284 N_("Samples per Pixel"), 00285 N_("The number of components per pixel. Since this standard applies " 00286 "to RGB and YCbCr images, the value set for this tag is 3. " 00287 "In JPEG compressed data a JPEG marker is used instead of this " 00288 "tag."), 00289 { ESL_MMMN, ESL_MMMN, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00290 {EXIF_TAG_ROWS_PER_STRIP, "RowsPerStrip", N_("Rows per Strip"), 00291 N_("The number of rows per strip. This is the number of rows " 00292 "in the image of one strip when an image is divided into " 00293 "strips. With JPEG compressed data this designation is not " 00294 "needed and is omitted. See also <StripOffsets> and " 00295 "<StripByteCounts>."), 00296 { ESL_MMMN, ESL_MMMN, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00297 {EXIF_TAG_STRIP_BYTE_COUNTS, "StripByteCounts", N_("Strip Byte Count"), 00298 N_("The total number of bytes in each strip. With JPEG compressed " 00299 "data this designation is not needed and is omitted."), 00300 { ESL_MMMN, ESL_MMMN, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00301 {EXIF_TAG_X_RESOLUTION, "XResolution", N_("X-Resolution"), 00302 N_("The number of pixels per <ResolutionUnit> in the <ImageWidth> " 00303 "direction. When the image resolution is unknown, 72 [dpi] " 00304 "is designated."), 00305 { ESL_MMMM, ESL_MMMM, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00306 {EXIF_TAG_Y_RESOLUTION, "YResolution", N_("Y-Resolution"), 00307 N_("The number of pixels per <ResolutionUnit> in the <ImageLength> " 00308 "direction. The same value as <XResolution> is designated."), 00309 { ESL_MMMM, ESL_MMMM, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00310 {EXIF_TAG_PLANAR_CONFIGURATION, "PlanarConfiguration", 00311 N_("Planar Configuration"), 00312 N_("Indicates whether pixel components are recorded in a chunky " 00313 "or planar format. In JPEG compressed files a JPEG marker " 00314 "is used instead of this tag. If this field does not exist, " 00315 "the TIFF default of 1 (chunky) is assumed."), 00316 { ESL_OMON, ESL_OMON, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00317 {EXIF_TAG_RESOLUTION_UNIT, "ResolutionUnit", N_("Resolution Unit"), 00318 N_("The unit for measuring <XResolution> and <YResolution>. The same " 00319 "unit is used for both <XResolution> and <YResolution>. If " 00320 "the image resolution is unknown, 2 (inches) is designated."), 00321 { ESL_MMMM, ESL_MMMM, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00322 {EXIF_TAG_TRANSFER_FUNCTION, "TransferFunction", 00323 N_("Transfer Function"), 00324 N_("A transfer function for the image, described in tabular style. " 00325 "Normally this tag is not necessary, since color space is " 00326 "specified in the color space information tag (<ColorSpace>)."), 00327 { ESL_OOOO, ESL_OOOO, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00328 {EXIF_TAG_SOFTWARE, "Software", N_("Software"), 00329 N_("This tag records the name and version of the software or " 00330 "firmware of the camera or image input device used to " 00331 "generate the image. The detailed format is not specified, but " 00332 "it is recommended that the example shown below be " 00333 "followed. When the field is left blank, it is treated as " 00334 "unknown."), 00335 { ESL_OOOO, ESL_OOOO, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00336 {EXIF_TAG_DATE_TIME, "DateTime", N_("Date and Time"), 00337 N_("The date and time of image creation. In this standard " 00338 "(EXIF-2.1) it is the date and time the file was changed."), 00339 { ESL_OOOO, ESL_OOOO, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00340 {EXIF_TAG_ARTIST, "Artist", N_("Artist"), 00341 N_("This tag records the name of the camera owner, photographer or " 00342 "image creator. The detailed format is not specified, but it is " 00343 "recommended that the information be written as in the example " 00344 "below for ease of Interoperability. When the field is " 00345 "left blank, it is treated as unknown."), 00346 { ESL_OOOO, ESL_OOOO, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00347 {EXIF_TAG_WHITE_POINT, "WhitePoint", N_("White Point"), 00348 N_("The chromaticity of the white point of the image. Normally " 00349 "this tag is not necessary, since color space is specified " 00350 "in the color space information tag (<ColorSpace>)."), 00351 { ESL_OOOO, ESL_OOOO, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00352 {EXIF_TAG_PRIMARY_CHROMATICITIES, "PrimaryChromaticities", 00353 N_("Primary Chromaticities"), 00354 N_("The chromaticity of the three primary colors of the image. " 00355 "Normally this tag is not necessary, since color space is " 00356 "specified in the color space information tag (<ColorSpace>)."), 00357 { ESL_OOOO, ESL_OOOO, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00358 /* Not in EXIF 2.2 */ 00359 {EXIF_TAG_SUB_IFDS, "SubIFDs", "SubIFD Offsets", N_("Defined by Adobe Corporation " 00360 "to enable TIFF Trees within a TIFF file.")}, 00361 /* Not in EXIF 2.2 */ 00362 {EXIF_TAG_TRANSFER_RANGE, "TransferRange", N_("Transfer Range"), ""}, 00363 /* Not in EXIF 2.2 */ 00364 {EXIF_TAG_JPEG_PROC, "JPEGProc", "JPEGProc", ""}, 00365 {EXIF_TAG_JPEG_INTERCHANGE_FORMAT, "JPEGInterchangeFormat", 00366 N_("JPEG Interchange Format"), 00367 N_("The offset to the start byte (SOI) of JPEG compressed " 00368 "thumbnail data. This is not used for primary image " 00369 "JPEG data."), 00370 { ESL_NNNN, ESL_NNNM, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00371 {EXIF_TAG_JPEG_INTERCHANGE_FORMAT_LENGTH, 00372 "JPEGInterchangeFormatLength", N_("JPEG Interchange Format Length"), 00373 N_("The number of bytes of JPEG compressed thumbnail data. This " 00374 "is not used for primary image JPEG data. JPEG thumbnails " 00375 "are not divided but are recorded as a continuous JPEG " 00376 "bitstream from SOI to EOI. Appn and COM markers should " 00377 "not be recorded. Compressed thumbnails must be recorded in no " 00378 "more than 64 Kbytes, including all other data to be " 00379 "recorded in APP1."), 00380 { ESL_NNNN, ESL_NNNM, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00381 {EXIF_TAG_YCBCR_COEFFICIENTS, "YCbCrCoefficients", 00382 N_("YCbCr Coefficients"), 00383 N_("The matrix coefficients for transformation from RGB to YCbCr " 00384 "image data. No default is given in TIFF; but here the " 00385 "value given in /"Color Space Guidelines/", is used " 00386 "as the default. The color space is declared in a " 00387 "color space information tag, with the default being the value " 00388 "that gives the optimal image characteristics " 00389 "Interoperability this condition."), 00390 { ESL_NNOO, ESL_NNOO, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00391 {EXIF_TAG_YCBCR_SUB_SAMPLING, "YCbCrSubSampling", 00392 N_("YCbCr Sub-Sampling"), 00393 N_("The sampling ratio of chrominance components in relation to the " 00394 "luminance component. In JPEG compressed data a JPEG marker " 00395 "is used instead of this tag."), 00396 { ESL_NNMN, ESL_NNMN, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00397 {EXIF_TAG_YCBCR_POSITIONING, "YCbCrPositioning", 00398 N_("YCbCr Positioning"), 00399 N_("The position of chrominance components in relation to the " 00400 "luminance component. This field is designated only for " 00401 "JPEG compressed data or uncompressed YCbCr data. The TIFF " 00402 "default is 1 (centered); but when Y:Cb:Cr = 4:2:2 it is " 00403 "recommended in this standard that 2 (co-sited) be used to " 00404 "record data, in order to improve the image quality when viewed " 00405 "on TV systems. When this field does not exist, the reader shall " 00406 "assume the TIFF default. In the case of Y:Cb:Cr = 4:2:0, the " 00407 "TIFF default (centered) is recommended. If the reader " 00408 "does not have the capability of supporting both kinds of " 00409 "<YCbCrPositioning>, it shall follow the TIFF default regardless " 00410 "of the value in this field. It is preferable that readers " 00411 "be able to support both centered and co-sited positioning."), 00412 { ESL_NNMM, ESL_NNOO, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00413 {EXIF_TAG_REFERENCE_BLACK_WHITE, "ReferenceBlackWhite", 00414 N_("Reference Black/White"), 00415 N_("The reference black point value and reference white point " 00416 "value. No defaults are given in TIFF, but the values " 00417 "below are given as defaults here. The color space is declared " 00418 "in a color space information tag, with the default " 00419 "being the value that gives the optimal image characteristics " 00420 "Interoperability these conditions."), 00421 { ESL_OOOO, ESL_OOOO, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00422 /* Not in EXIF 2.2 */ 00423 {EXIF_TAG_XML_PACKET, "XMLPacket", N_("XML Packet"), N_("XMP Metadata")}, 00424 /* Not in EXIF 2.2 */ 00425 {EXIF_TAG_RELATED_IMAGE_FILE_FORMAT, "RelatedImageFileFormat", 00426 "RelatedImageFileFormat", ""}, 00427 /* Not in EXIF 2.2 */ 00428 {EXIF_TAG_RELATED_IMAGE_WIDTH, "RelatedImageWidth", 00429 "RelatedImageWidth", ""}, 00430 /* Not in EXIF 2.2 */ 00431 {EXIF_TAG_RELATED_IMAGE_LENGTH, "RelatedImageLength", 00432 "RelatedImageLength", ""}, 00433 /* Not in EXIF 2.2 */ 00434 {EXIF_TAG_CFA_REPEAT_PATTERN_DIM, "CFARepeatPatternDim", 00435 "CFARepeatPatternDim", ""}, 00436 /* Not in EXIF 2.2 */ 00437 {EXIF_TAG_CFA_PATTERN, "CFAPattern", 00438 N_("CFA Pattern"), 00439 N_("Indicates the color filter array (CFA) geometric pattern of the " 00440 "image sensor when a one-chip color area sensor is used. " 00441 "It does not apply to all sensing methods.")}, 00442 /* Not in EXIF 2.2 */ 00443 {EXIF_TAG_BATTERY_LEVEL, "BatteryLevel", N_("Battery Level"), ""}, 00444 {EXIF_TAG_COPYRIGHT, "Copyright", N_("Copyright"), 00445 N_("Copyright information. In this standard the tag is used to " 00446 "indicate both the photographer and editor copyrights. It is " 00447 "the copyright notice of the person or organization claiming " 00448 "rights to the image. The Interoperability copyright " 00449 "statement including date and rights should be written in this " 00450 "field; e.g., /"Copyright, John Smith, 19xx. All rights " 00451 "reserved./". In this standard the field records both the " 00452 "photographer and editor copyrights, with each recorded in a " 00453 "separate part of the statement. When there is a clear " 00454 "distinction between the photographer and editor copyrights, " 00455 "these are to be written in the order of photographer followed " 00456 "by editor copyright, separated by NULL (in this case, " 00457 "since the statement also ends with a NULL, there are two NULL " 00458 "codes) (see example 1). When only the photographer is given, " 00459 "it is terminated by one NULL code (see example 2). When only " 00460 "the editor copyright is given, " 00461 "the photographer copyright part consists of one space followed " 00462 "by a terminating NULL code, then the editor copyright is given " 00463 "(see example 3). When the field is left blank, it is treated " 00464 "as unknown."), 00465 { ESL_OOOO, ESL_OOOO, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00466 {EXIF_TAG_EXPOSURE_TIME, "ExposureTime", N_("Exposure Time"), 00467 N_("Exposure time, given in seconds (sec)."), 00468 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00469 {EXIF_TAG_FNUMBER, "FNumber", N_("F-Number"), 00470 N_("The F number."), 00471 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00472 /* Not in EXIF 2.2 */ 00473 {EXIF_TAG_IPTC_NAA, "IPTC/NAA", "IPTC/NAA", ""}, 00474 /* Not in EXIF 2.2 */ 00475 {EXIF_TAG_IMAGE_RESOURCES, "ImageResources", N_("Image Resources Block"), ""}, 00476 {EXIF_TAG_EXIF_IFD_POINTER, "ExifIfdPointer", "ExifIFDPointer", 00477 N_("A pointer to the Exif IFD. Interoperability, Exif IFD has the " 00478 "same structure as that of the IFD specified in TIFF. " 00479 "ordinarily, however, it does not contain image data as in " 00480 "the case of TIFF."), 00481 { ESL_NNNN, ESL_NNNN, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00482 /* Not in EXIF 2.2 */ 00483 {EXIF_TAG_INTER_COLOR_PROFILE, "InterColorProfile", 00484 "InterColorProfile", ""}, 00485 {EXIF_TAG_EXPOSURE_PROGRAM, "ExposureProgram", N_("Exposure Program"), 00486 N_("The class of the program used by the camera to set exposure " 00487 "when the picture is taken."), 00488 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00489 {EXIF_TAG_SPECTRAL_SENSITIVITY, "SpectralSensitivity", 00490 N_("Spectral Sensitivity"), 00491 N_("Indicates the spectral sensitivity of each channel of the " 00492 "camera used. The tag value is an ASCII string compatible " 00493 "with the standard developed by the ASTM Technical Committee."), 00494 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00495 {EXIF_TAG_GPS_INFO_IFD_POINTER, "GPSInfoIFDPointer", 00496 N_("GPS Info IFD Pointer"), 00497 N_("A pointer to the GPS Info IFD. The " 00498 "Interoperability structure of the GPS Info IFD, like that of " 00499 "Exif IFD, has no image data."), 00500 { ESL_NNNN, ESL_NNNN, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00501 00502 {EXIF_TAG_ISO_SPEED_RATINGS, "ISOSpeedRatings", 00503 N_("ISO Speed Ratings"), 00504 N_("Indicates the ISO Speed and ISO Latitude of the camera or " 00505 "input device as specified in ISO 12232."), 00506 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00507 {EXIF_TAG_OECF, "OECF", N_("Opto-Electronic Conversion Function"), 00508 N_("Indicates the Opto-Electronic Conversion Function (OECF) " 00509 "specified in ISO 14524. <OECF> is the relationship between " 00510 "the camera optical input and the image values."), 00511 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00512 /* Not in EXIF 2.2 */ 00513 {EXIF_TAG_TIME_ZONE_OFFSET, "TimeZoneOffset", N_("Time Zone Offset"), 00514 N_("Encodes time zone of camera clock relative to GMT.")}, 00515 {EXIF_TAG_EXIF_VERSION, "ExifVersion", N_("Exif Version"), 00516 N_("The version of this standard supported. Nonexistence of this " 00517 "field is taken to mean nonconformance to the standard."), 00518 { ESL_NNNN, ESL_NNNN, ESL_MMMM, ESL_NNNN, ESL_NNNN } }, 00519 {EXIF_TAG_DATE_TIME_ORIGINAL, "DateTimeOriginal", 00520 N_("Date and Time (Original)"), 00521 N_("The date and time when the original image data was generated. " 00522 "For a digital still camera " 00523 "the date and time the picture was taken are recorded."), 00524 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00525 {EXIF_TAG_DATE_TIME_DIGITIZED, "DateTimeDigitized", 00526 N_("Date and Time (Digitized)"), 00527 N_("The date and time when the image was stored as digital data."), 00528 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00529 {EXIF_TAG_COMPONENTS_CONFIGURATION, "ComponentsConfiguration", 00530 N_("Components Configuration"), 00531 N_("Information specific to compressed data. The channels of " 00532 "each component are arranged in order from the 1st " 00533 "component to the 4th. For uncompressed data the data " 00534 "arrangement is given in the <PhotometricInterpretation> tag. " 00535 "However, since <PhotometricInterpretation> can only " 00536 "express the order of Y, Cb and Cr, this tag is provided " 00537 "for cases when compressed data uses components other than " 00538 "Y, Cb, and Cr and to enable support of other sequences."), 00539 { ESL_NNNN, ESL_NNNN, ESL_NNNM, ESL_NNNN, ESL_NNNN } }, 00540 {EXIF_TAG_COMPRESSED_BITS_PER_PIXEL, "CompressedBitsPerPixel", 00541 N_("Compressed Bits per Pixel"), 00542 N_("Information specific to compressed data. The compression mode " 00543 "used for a compressed image is indicated in unit bits " 00544 "per pixel."), 00545 { ESL_NNNN, ESL_NNNN, ESL_NNNO, ESL_NNNN, ESL_NNNN } }, 00546 {EXIF_TAG_SHUTTER_SPEED_VALUE, "ShutterSpeedValue", N_("Shutter Speed"), 00547 N_("Shutter speed. The unit is the APEX (Additive System of " 00548 "Photographic Exposure) setting."), 00549 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00550 {EXIF_TAG_APERTURE_VALUE, "ApertureValue", N_("Aperture"), 00551 N_("The lens aperture. The unit is the APEX value."), 00552 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00553 {EXIF_TAG_BRIGHTNESS_VALUE, "BrightnessValue", N_("Brightness"), 00554 N_("The value of brightness. The unit is the APEX value. " 00555 "Ordinarily it is given in the range of -99.99 to 99.99."), 00556 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00557 {EXIF_TAG_EXPOSURE_BIAS_VALUE, "ExposureBiasValue", 00558 N_("Exposure Bias"), 00559 N_("The exposure bias. The units is the APEX value. Ordinarily " 00560 "it is given in the range of -99.99 to 99.99."), 00561 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00562 {EXIF_TAG_MAX_APERTURE_VALUE, "MaxApertureValue", N_("Maximum Aperture Value"), 00563 N_("The smallest F number of the lens. The unit is the APEX value. " 00564 "Ordinarily it is given in the range of 00.00 to 99.99, " 00565 "but it is not limited to this range."), 00566 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00567 {EXIF_TAG_SUBJECT_DISTANCE, "SubjectDistance", 00568 N_("Subject Distance"), 00569 N_("The distance to the subject, given in meters."), 00570 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00571 {EXIF_TAG_METERING_MODE, "MeteringMode", N_("Metering Mode"), 00572 N_("The metering mode."), 00573 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00574 {EXIF_TAG_LIGHT_SOURCE, "LightSource", N_("Light Source"), 00575 N_("The kind of light source."), 00576 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00577 {EXIF_TAG_FLASH, "Flash", N_("Flash"), 00578 N_("This tag is recorded when an image is taken using a strobe " 00579 "light (flash)."), 00580 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00581 {EXIF_TAG_FOCAL_LENGTH, "FocalLength", N_("Focal Length"), 00582 N_("The actual focal length of the lens, in mm. Conversion is not " 00583 "made to the focal length of a 35 mm film camera."), 00584 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00585 {EXIF_TAG_SUBJECT_AREA, "SubjectArea", N_("Subject Area"), 00586 N_("This tag indicates the location and area of the main subject " 00587 "in the overall scene."), 00588 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00589 /* Not in EXIF 2.2 */ 00590 {EXIF_TAG_TIFF_EP_STANDARD_ID, "TIFF/EPStandardID", N_("TIFF/EP Standard ID"), ""}, 00591 {EXIF_TAG_MAKER_NOTE, "MakerNote", N_("Maker Note"), 00592 N_("A tag for manufacturers of Exif writers to record any desired " 00593 "information. The contents are up to the manufacturer."), 00594 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00595 {EXIF_TAG_USER_COMMENT, "UserComment", N_("User Comment"), 00596 N_("A tag for Exif users to write keywords or comments on the image " 00597 "besides those in <ImageDescription>, and without the " 00598 "character code limitations of the <ImageDescription> tag. The " 00599 "character code used in the <UserComment> tag is identified " 00600 "based on an ID code in a fixed 8-byte area at the start of " 00601 "the tag data area. The unused portion of the area is padded " 00602 "with NULL (/"00.h/"). ID codes are assigned by means of " 00603 "registration. The designation method and references for each " 00604 "character code are defined in the specification. The value of " 00605 "CountN is determined based on the 8 bytes in the character code " 00606 "area and the number of bytes in the user comment part. Since " 00607 "the TYPE is not ASCII, NULL termination is not necessary. " 00608 "The ID code for the <UserComment> area may be a Defined code " 00609 "such as JIS or ASCII, or may be Undefined. The Undefined name " 00610 "is UndefinedText, and the ID code is filled with 8 bytes of all " 00611 "/"NULL/" (/"00.H/"). An Exif reader that reads the " 00612 "<UserComment> tag must have a function for determining the " 00613 "ID code. This function is not required in Exif readers that " 00614 "do not use the <UserComment> tag. " 00615 "When a <UserComment> area is set aside, it is recommended that " 00616 "the ID code be ASCII and that the following user comment " 00617 "part be filled with blank characters [20.H]."), 00618 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00619 {EXIF_TAG_SUB_SEC_TIME, "SubsecTime", N_("Sub-second Time"), 00620 N_("A tag used to record fractions of seconds for the " 00621 "<DateTime> tag."), 00622 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00623 {EXIF_TAG_SUB_SEC_TIME_ORIGINAL, "SubSecTimeOriginal", 00624 N_("Sub-second Time (Original)"), 00625 N_("A tag used to record fractions of seconds for the " 00626 "<DateTimeOriginal> tag."), 00627 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00628 {EXIF_TAG_SUB_SEC_TIME_DIGITIZED, "SubSecTimeDigitized", 00629 N_("Sub-second Time (Digitized)"), 00630 N_("A tag used to record fractions of seconds for the " 00631 "<DateTimeDigitized> tag."), 00632 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00633 /* Not in EXIF 2.2 (Microsoft extension) */ 00634 {EXIF_TAG_XP_TITLE, "XPTitle", N_("XP Title"), 00635 N_("A character string giving the title of the image, encoded in " 00636 "UTF-16LE."), 00637 { ESL_OOOO, ESL_NNNN, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00638 /* Not in EXIF 2.2 (Microsoft extension) */ 00639 {EXIF_TAG_XP_COMMENT, "XPComment", N_("XP Comment"), 00640 N_("A character string containing a comment about the image, encoded " 00641 "in UTF-16LE."), 00642 { ESL_OOOO, ESL_NNNN, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00643 /* Not in EXIF 2.2 (Microsoft extension) */ 00644 {EXIF_TAG_XP_AUTHOR, "XPAuthor", N_("XP Author"), 00645 N_("A character string containing the name of the image creator, " 00646 "encoded in UTF-16LE."), 00647 { ESL_OOOO, ESL_NNNN, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00648 /* Not in EXIF 2.2 (Microsoft extension) */ 00649 {EXIF_TAG_XP_KEYWORDS, "XPKeywords", N_("XP Keywords"), 00650 N_("A character string containing key words describing the image, " 00651 "encoded in UTF-16LE."), 00652 { ESL_OOOO, ESL_NNNN, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00653 /* Not in EXIF 2.2 (Microsoft extension) */ 00654 {EXIF_TAG_XP_SUBJECT, "XPSubject", N_("XP Subject"), 00655 N_("A character string giving the image subject, encoded in " 00656 "UTF-16LE."), 00657 { ESL_OOOO, ESL_NNNN, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00658 {EXIF_TAG_FLASH_PIX_VERSION, "FlashPixVersion", "FlashPixVersion", 00659 N_("The FlashPix format version supported by a FPXR file."), 00660 { ESL_NNNN, ESL_NNNN, ESL_MMMM, ESL_NNNN, ESL_NNNN } }, 00661 {EXIF_TAG_COLOR_SPACE, "ColorSpace", N_("Color Space"), 00662 N_("The color space information tag is always " 00663 "recorded as the color space specifier. Normally sRGB (=1) " 00664 "is used to define the color space based on the PC monitor " 00665 "conditions and environment. If a color space other than " 00666 "sRGB is used, Uncalibrated (=FFFF.H) is set. Image data " 00667 "recorded as Uncalibrated can be treated as sRGB when it is " 00668 "converted to FlashPix."), 00669 { ESL_NNNN, ESL_NNNN, ESL_MMMM, ESL_NNNN, ESL_NNNN } }, 00670 {EXIF_TAG_PIXEL_X_DIMENSION, "PixelXDimension", N_("Pixel X Dimension"), 00671 N_("Information specific to compressed data. When a " 00672 "compressed file is recorded, the valid width of the " 00673 "meaningful image must be recorded in this tag, whether or " 00674 "not there is padding data or a restart marker. This tag " 00675 "should not exist in an uncompressed file."), 00676 { ESL_NNNN, ESL_NNNN, ESL_NNNM, ESL_NNNN, ESL_NNNN } }, 00677 {EXIF_TAG_PIXEL_Y_DIMENSION, "PixelYDimension", N_("Pixel Y Dimension"), 00678 N_("Information specific to compressed data. When a compressed " 00679 "file is recorded, the valid height of the meaningful image " 00680 "must be recorded in this tag, whether or not there is padding " 00681 "data or a restart marker. This tag should not exist in an " 00682 "uncompressed file. " 00683 "Since data padding is unnecessary in the vertical direction, " 00684 "the number of lines recorded in this valid image height tag " 00685 "will in fact be the same as that recorded in the SOF."), 00686 { ESL_NNNN, ESL_NNNN, ESL_NNNM, ESL_NNNN, ESL_NNNN } }, 00687 {EXIF_TAG_RELATED_SOUND_FILE, "RelatedSoundFile", 00688 N_("Related Sound File"), 00689 N_("This tag is used to record the name of an audio file related " 00690 "to the image data. The only relational information " 00691 "recorded here is the Exif audio file name and extension (an " 00692 "ASCII string consisting of 8 characters + '.' + 3 " 00693 "characters). The path is not recorded. Stipulations on audio " 00694 "and file naming conventions are defined in the specification. " 00695 "When using this tag, audio files must be recorded in " 00696 "conformance to the Exif audio format. Writers are also allowed " 00697 "to store the data such as Audio within APP2 as FlashPix " 00698 "extension stream data. " 00699 "The mapping of Exif image files and audio files is done " 00700 "in any of three ways, [1], [2] and [3]. If multiple files " 00701 "are mapped to one file as in [2] or [3], the above " 00702 "format is used to record just one audio file name. If " 00703 "there are multiple audio files, the first recorded file is " 00704 "given. In the case of [3], for example, for the " 00705 "Exif image file /"DSC00001.JPG/" only /"SND00001.WAV/" is " 00706 "given as the related Exif audio file. When there are three " 00707 "Exif audio files /"SND00001.WAV/", /"SND00002.WAV/" and " 00708 "/"SND00003.WAV/", the Exif image file name for each of them, " 00709 "/"DSC00001.JPG/", is indicated. By combining multiple " 00710 "relational information, a variety of playback possibilities " 00711 "can be supported. The method of using relational information " 00712 "is left to the implementation on the playback side. Since this " 00713 "information is an ASCII character string, it is terminated by " 00714 "NULL. When this tag is used to map audio files, the relation " 00715 "of the audio file to image data must also be indicated on the " 00716 "audio file end."), 00717 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00718 {EXIF_TAG_INTEROPERABILITY_IFD_POINTER, "InteroperabilityIFDPointer", 00719 N_("Interoperability IFD Pointer"), 00720 N_("Interoperability IFD is composed of tags which stores the " 00721 "information to ensure the Interoperability and pointed " 00722 "by the following tag located in Exif IFD. " 00723 "The Interoperability structure of Interoperability IFD is " 00724 "the same as TIFF defined IFD structure " 00725 "but does not contain the " 00726 "image data characteristically compared with normal TIFF " 00727 "IFD."), 00728 { ESL_NNNN, ESL_NNNN, ESL_NNNN, ESL_NNNN, ESL_NNNN } }, 00729 {EXIF_TAG_FLASH_ENERGY, "FlashEnergy", N_("Flash Energy"), 00730 N_("Indicates the strobe energy at the time the image is " 00731 "captured, as measured in Beam Candle Power Seconds (BCPS)."), 00732 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00733 {EXIF_TAG_SPATIAL_FREQUENCY_RESPONSE, "SpatialFrequencyResponse", 00734 N_("Spatial Frequency Response"), 00735 N_("This tag records the camera or input device spatial frequency " 00736 "table and SFR values in the direction of image width, " 00737 "image height, and diagonal direction, as specified in ISO " 00738 "12233."), 00739 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00740 {EXIF_TAG_FOCAL_PLANE_X_RESOLUTION, "FocalPlaneXResolution", 00741 N_("Focal Plane X-Resolution"), 00742 N_("Indicates the number of pixels in the image width (X) direction " 00743 "per <FocalPlaneResolutionUnit> on the camera focal plane."), 00744 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00745 {EXIF_TAG_FOCAL_PLANE_Y_RESOLUTION, "FocalPlaneYResolution", 00746 N_("Focal Plane Y-Resolution"), 00747 N_("Indicates the number of pixels in the image height (V) direction " 00748 "per <FocalPlaneResolutionUnit> on the camera focal plane."), 00749 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00750 {EXIF_TAG_FOCAL_PLANE_RESOLUTION_UNIT, "FocalPlaneResolutionUnit", 00751 N_("Focal Plane Resolution Unit"), 00752 N_("Indicates the unit for measuring <FocalPlaneXResolution> and " 00753 "<FocalPlaneYResolution>. This value is the same as the " 00754 "<ResolutionUnit>."), 00755 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00756 {EXIF_TAG_SUBJECT_LOCATION, "SubjectLocation", 00757 N_("Subject Location"), 00758 N_("Indicates the location of the main subject in the scene. The " 00759 "value of this tag represents the pixel at the center of the " 00760 "main subject relative to the left edge, prior to rotation " 00761 "processing as per the <Rotation> tag. The first value " 00762 "indicates the X column number and the second indicates " 00763 "the Y row number."), 00764 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00765 {EXIF_TAG_EXPOSURE_INDEX, "ExposureIndex", N_("Exposure Index"), 00766 N_("Indicates the exposure index selected on the camera or " 00767 "input device at the time the image is captured."), 00768 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00769 {EXIF_TAG_SENSING_METHOD, "SensingMethod", N_("Sensing Method"), 00770 N_("Indicates the image sensor type on the camera or input " 00771 "device."), 00772 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00773 {EXIF_TAG_FILE_SOURCE, "FileSource", N_("File Source"), 00774 N_("Indicates the image source. If a DSC recorded the image, " 00775 "the tag value of this tag always be set to 3, indicating " 00776 "that the image was recorded on a DSC."), 00777 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00778 {EXIF_TAG_SCENE_TYPE, "SceneType", N_("Scene Type"), 00779 N_("Indicates the type of scene. If a DSC recorded the image, " 00780 "this tag value must always be set to 1, indicating that the " 00781 "image was directly photographed."), 00782 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00783 {EXIF_TAG_NEW_CFA_PATTERN, "CFAPattern", 00784 N_("CFA Pattern"), 00785 N_("Indicates the color filter array (CFA) geometric pattern of the " 00786 "image sensor when a one-chip color area sensor is used. " 00787 "It does not apply to all sensing methods."), 00788 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00789 {EXIF_TAG_CUSTOM_RENDERED, "CustomRendered", N_("Custom Rendered"), 00790 N_("This tag indicates the use of special processing on image " 00791 "data, such as rendering geared to output. When special " 00792 "processing is performed, the reader is expected to disable " 00793 "or minimize any further processing."), 00794 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00795 {EXIF_TAG_EXPOSURE_MODE, "ExposureMode", N_("Exposure Mode"), 00796 N_("This tag indicates the exposure mode set when the image was " 00797 "shot. In auto-bracketing mode, the camera shoots a series of " 00798 "frames of the same scene at different exposure settings."), 00799 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00800 {EXIF_TAG_WHITE_BALANCE, "WhiteBalance", N_("White Balance"), 00801 N_("This tag indicates the white balance mode set when the image " 00802 "was shot."), 00803 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00804 {EXIF_TAG_DIGITAL_ZOOM_RATIO, "DigitalZoomRatio", 00805 N_("Digital Zoom Ratio"), 00806 N_("This tag indicates the digital zoom ratio when the image was " 00807 "shot. If the numerator of the recorded value is 0, this " 00808 "indicates that digital zoom was not used."), 00809 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00810 {EXIF_TAG_FOCAL_LENGTH_IN_35MM_FILM, "FocalLengthIn35mmFilm", 00811 N_("Focal Length in 35mm Film"), 00812 N_("This tag indicates the equivalent focal length assuming a " 00813 "35mm film camera, in mm. A value of 0 means the focal " 00814 "length is unknown. Note that this tag differs from the " 00815 "FocalLength tag."), 00816 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00817 {EXIF_TAG_SCENE_CAPTURE_TYPE, "SceneCaptureType", 00818 N_("Scene Capture Type"), 00819 N_("This tag indicates the type of scene that was shot. It can " 00820 "also be used to record the mode in which the image was " 00821 "shot. Note that this differs from the scene type " 00822 "<SceneType> tag."), 00823 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00824 {EXIF_TAG_GAIN_CONTROL, "GainControl", N_("Gain Control"), 00825 N_("This tag indicates the degree of overall image gain " 00826 "adjustment."), 00827 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00828 {EXIF_TAG_CONTRAST, "Contrast", N_("Contrast"), 00829 N_("This tag indicates the direction of contrast processing " 00830 "applied by the camera when the image was shot."), 00831 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00832 {EXIF_TAG_SATURATION, "Saturation", N_("Saturation"), 00833 N_("This tag indicates the direction of saturation processing " 00834 "applied by the camera when the image was shot."), 00835 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00836 {EXIF_TAG_SHARPNESS, "Sharpness", N_("Sharpness"), 00837 N_("This tag indicates the direction of sharpness processing " 00838 "applied by the camera when the image was shot."), 00839 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00840 {EXIF_TAG_DEVICE_SETTING_DESCRIPTION, "DeviceSettingDescription", 00841 N_("Device Setting Description"), 00842 N_("This tag indicates information on the picture-taking " 00843 "conditions of a particular camera model. The tag is used " 00844 "only to indicate the picture-taking conditions in the " 00845 "reader."), 00846 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00847 {EXIF_TAG_SUBJECT_DISTANCE_RANGE, "SubjectDistanceRange", 00848 N_("Subject Distance Range"), 00849 N_("This tag indicates the distance to the subject."), 00850 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00851 {EXIF_TAG_IMAGE_UNIQUE_ID, "ImageUniqueID", N_("Image Unique ID"), 00852 N_("This tag indicates an identifier assigned uniquely to " 00853 "each image. It is recorded as an ASCII string equivalent " 00854 "to hexadecimal notation and 128-bit fixed length."), 00855 { ESL_NNNN, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00856 /* Not in EXIF 2.2 */ 00857 {EXIF_TAG_GAMMA, "Gamma", N_("Gamma"), 00858 N_("Indicates the value of coefficient gamma.")}, 00859 /* Not in EXIF 2.2 */ 00860 {EXIF_TAG_PRINT_IMAGE_MATCHING, "PrintImageMatching", N_("PRINT Image Matching"), 00861 N_("Related to Epson's PRINT Image Matching technology")}, 00862 /* Not in EXIF 2.2 (from the Microsoft HD Photo specification) */ 00863 {EXIF_TAG_PADDING, "Padding", N_("Padding"), 00864 N_("This tag reserves space that can be reclaimed later when " 00865 "additional metadata are added. New metadata can be written " 00866 "in place by replacing this tag with a smaller data element " 00867 "and using the reclaimed space to store the new or expanded " 00868 "metadata tags."), 00869 { ESL_OOOO, ESL_NNNN, ESL_OOOO, ESL_NNNN, ESL_NNNN } }, 00870 #endif 00871 {0, NULL, NULL, NULL} 00872 }; 00873 00874 /* For now, do not use these functions. */ 00875 00880 inline unsigned int 00881 exif_tag_table_count (void) 00882 { 00883 return sizeof (ExifTagTable) / sizeof (ExifTagTable[0]); 00884 } 00885 00886 00887 ExifTag 00888 exif_tag_table_get_tag (unsigned int n) 00889 { 00890 return (n < exif_tag_table_count ()) ? ExifTagTable[n].tag : 0; 00891 } 00892 00893 const char * 00894 exif_tag_table_get_name (unsigned int n) 00895 { 00896 return (n < exif_tag_table_count ()) ? ExifTagTable[n].name : NULL; 00897 } 00898 00905 static int 00906 match_tag(const void *tag, const void *entry) 00907 { 00908 return *(int*)tag - ((struct TagEntry *)entry)->tag; 00909 } 00910 00911 00918 static int 00919 exif_tag_table_first(ExifTag tag) 00920 { 00921 int i; 00922 struct TagEntry *entry = bsearch(&tag, ExifTagTable, 00923 exif_tag_table_count()-1, sizeof(struct TagEntry), match_tag); 00924 if (!entry) 00925 return -1; /* Not found */ 00926 00927 /* Calculate index of found entry */ 00928 i = entry - ExifTagTable; 00929 00930 /* There may be other entries with the same tag number, so search 00931 * backwards to find the first 00932 */ 00933 while ((i > 0) && (ExifTagTable[i-1].tag == tag)) { 00934 --i; 00935 } 00936 return i; 00937 } 00938 00939 #define RECORDED / 00940 ((ExifTagTable[i].esl[ifd][EXIF_DATA_TYPE_UNCOMPRESSED_CHUNKY] != EXIF_SUPPORT_LEVEL_NOT_RECORDED) || / 00941 (ExifTagTable[i].esl[ifd][EXIF_DATA_TYPE_UNCOMPRESSED_PLANAR] != EXIF_SUPPORT_LEVEL_NOT_RECORDED) || / 00942 (ExifTagTable[i].esl[ifd][EXIF_DATA_TYPE_UNCOMPRESSED_YCC] != EXIF_SUPPORT_LEVEL_NOT_RECORDED) || / 00943 (ExifTagTable[i].esl[ifd][EXIF_DATA_TYPE_COMPRESSED] != EXIF_SUPPORT_LEVEL_NOT_RECORDED)) 00944 00945 const char * 00946 exif_tag_get_name_in_ifd (ExifTag tag, ExifIfd ifd) 00947 { 00948 unsigned int i; 00949 int first; 00950 00951 if (ifd >= EXIF_IFD_COUNT) 00952 return NULL; 00953 first = exif_tag_table_first(tag); 00954 if (first < 0) 00955 return NULL; 00956 00957 for (i = first; ExifTagTable[i].name; i++) { 00958 if (ExifTagTable[i].tag == tag) { 00959 if (RECORDED) 00960 break; 00961 } else 00962 return NULL; /* Recorded tag not found in the table */ 00963 } 00964 return ExifTagTable[i].name; 00965 } 00966 00967 const char * 00968 exif_tag_get_title_in_ifd (ExifTag tag, ExifIfd ifd) 00969 { 00970 unsigned int i; 00971 int first; 00972 00973 if (ifd >= EXIF_IFD_COUNT) 00974 return NULL; 00975 first = exif_tag_table_first(tag); 00976 if (first < 0) 00977 return NULL; 00978 00979 for (i = first; ExifTagTable[i].name; i++) { 00980 if (ExifTagTable[i].tag == tag) { 00981 if (RECORDED) 00982 break; 00983 } else 00984 return NULL; /* Recorded tag not found in the table */ 00985 } 00986 /* FIXME: This belongs to somewhere else. */ 00987 /* libexif should use the default system locale. 00988 * If an application specifically requires UTF-8, then we 00989 * must give the application a way to tell libexif that. 00990 * 00991 * bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); 00992 */ 00993 bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); 00994 return _(ExifTagTable[i].title); 00995 } 00996 00997 const char * 00998 exif_tag_get_description_in_ifd (ExifTag tag, ExifIfd ifd) 00999 { 01000 unsigned int i; 01001 int first; 01002 01003 if (ifd >= EXIF_IFD_COUNT) 01004 return NULL; 01005 first = exif_tag_table_first(tag); 01006 if (first < 0) 01007 return NULL; 01008 01009 for (i = first; ExifTagTable[i].name; i++) { 01010 if (ExifTagTable[i].tag == tag) { 01011 if (RECORDED) 01012 break; 01013 } else 01014 return NULL; /* Recorded tag not found in the table */ 01015 } 01016 01017 /* GNU gettext acts strangely when given an empty string */ 01018 if (!ExifTagTable[i].description || !*ExifTagTable[i].description) 01019 return ""; 01020 01021 /* libexif should use the default system locale. 01022 * If an application specifically requires UTF-8, then we 01023 * must give the application a way to tell libexif that. 01024 * 01025 * bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); 01026 */ 01027 bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); 01028 return _(ExifTagTable[i].description); 01029 } 01030 01031 01032 /********************************************************************** 01033 * convenience functions 01034 **********************************************************************/ 01035 01036 /* generic part: iterate through IFD list and return first result */ 01037 typedef const char * (*get_stuff_func) (ExifTag tag, ExifIfd ifd); 01038 01039 static const char * 01040 exif_tag_get_stuff (ExifTag tag, get_stuff_func func) 01041 { 01042 /* Search IFDs in this order, in decreasing order of number of valid tags */ 01043 static const ExifIfd ifds[EXIF_IFD_COUNT] = { 01044 EXIF_IFD_EXIF, 01045 EXIF_IFD_0, 01046 EXIF_IFD_1, 01047 EXIF_IFD_INTEROPERABILITY, 01048 EXIF_IFD_GPS 01049 }; 01050 int i; 01051 for (i=0; i<EXIF_IFD_COUNT; i++) { 01052 const char *result = func(tag, ifds[i]); 01053 if (result != NULL) { 01054 return result; 01055 } 01056 } 01057 return (const char *) NULL; 01058 } 01059 01060 /* explicit functions */ 01061 const char * 01062 exif_tag_get_name (ExifTag tag) 01063 { 01064 return exif_tag_get_stuff(tag, exif_tag_get_name_in_ifd); 01065 } 01066 01067 const char * 01068 exif_tag_get_title (ExifTag tag) 01069 { 01070 return exif_tag_get_stuff(tag, exif_tag_get_title_in_ifd); 01071 } 01072 01073 const char * 01074 exif_tag_get_description (ExifTag tag) 01075 { 01076 return exif_tag_get_stuff(tag, exif_tag_get_description_in_ifd); 01077 } 01078 01079 01080 01081 ExifTag 01082 exif_tag_from_name (const char *name) 01083 { 01084 unsigned int i; 01085 unsigned int result=0; 01086 01087 if (!name) return 0; 01088 01089 for (i = 0; ExifTagTable[i].name; i++) 01090 if (!strcmp (ExifTagTable[i].name, name)) { 01091 result = ExifTagTable[i].tag; 01092 break; 01093 } 01094 return result; 01095 } 01096 01106 static inline ExifSupportLevel 01107 get_support_level_in_ifd (ExifTag tag, ExifIfd ifd, ExifDataType t) 01108 { 01109 unsigned int i; 01110 int first = exif_tag_table_first(tag); 01111 if (first < 0) 01112 return EXIF_SUPPORT_LEVEL_NOT_RECORDED; 01113 01114 for (i = first; ExifTagTable[i].name; i++) { 01115 if (ExifTagTable[i].tag == tag) { 01116 const ExifSupportLevel supp = ExifTagTable[i].esl[ifd][t]; 01117 if (supp != EXIF_SUPPORT_LEVEL_NOT_RECORDED) 01118 return supp; 01119 /* Try looking for another entry */ 01120 } else { 01121 break; /* We've reached the end of the matching tags */ 01122 } 01123 } 01124 return EXIF_SUPPORT_LEVEL_NOT_RECORDED; 01125 } 01126 01136 static inline ExifSupportLevel 01137 get_support_level_any_type (ExifTag tag, ExifIfd ifd) 01138 { 01139 unsigned int i; 01140 int first = exif_tag_table_first(tag); 01141 if (first < 0) 01142 return EXIF_SUPPORT_LEVEL_UNKNOWN; 01143 01144 for (i = first; ExifTagTable[i].name; i++) { 01145 if (ExifTagTable[i].tag == tag) { 01146 /* 01147 * Check whether the support level is the same for all possible 01148 * data types and isn't marked not recorded. 01149 */ 01150 const ExifSupportLevel supp = ExifTagTable[i].esl[ifd][0]; 01151 /* If level is not recorded, keep searching for another */ 01152 if (supp != EXIF_SUPPORT_LEVEL_NOT_RECORDED) { 01153 unsigned int dt; 01154 for (dt = 0; dt < EXIF_DATA_TYPE_COUNT; ++dt) { 01155 if (ExifTagTable[i].esl[ifd][dt] != supp) 01156 break; 01157 } 01158 if (dt == EXIF_DATA_TYPE_COUNT) 01159 /* Support level is always the same, so return it */ 01160 return supp; 01161 } 01162 /* Keep searching the table for another tag for our IFD */ 01163 } else { 01164 break; /* We've reached the end of the matching tags */ 01165 } 01166 } 01167 return EXIF_SUPPORT_LEVEL_UNKNOWN; 01168 } 01169 01170 ExifSupportLevel 01171 exif_tag_get_support_level_in_ifd (ExifTag tag, ExifIfd ifd, ExifDataType t) 01172 { 01173 if (ifd >= EXIF_IFD_COUNT) 01174 return EXIF_SUPPORT_LEVEL_UNKNOWN; 01175 01176 if (t >= EXIF_DATA_TYPE_COUNT) 01177 return get_support_level_any_type (tag, ifd); 01178 01179 return get_support_level_in_ifd (tag, ifd, t); 01180 }
【转】EXIF
最新推荐文章于 2021-04-13 13:38:22 发布