49 1, 0,
"SubfileType" },
52 1, 0,
"SubfileType" },
54 1, 0,
"OldSubfileType" },
60 1, 0,
"ImageLength" },
62 1, 0,
"ImageLength" },
64 0, 0,
"BitsPerSample" },
67 0, 0,
"BitsPerSample" },
69 0, 0,
"Compression" },
72 0, 0,
"Compression" },
74 0, 0,
"PhotometricInterpretation" },
77 0, 0,
"PhotometricInterpretation" },
79 1, 0,
"Threshholding" },
87 1, 0,
"DocumentName" },
89 1, 0,
"ImageDescription" },
95 0, 0,
"StripOffsets" },
97 0, 0,
"StripOffsets" },
99 0, 0,
"Orientation" },
101 0, 0,
"SamplesPerPixel" },
103 0, 0,
"RowsPerStrip" },
105 0, 0,
"RowsPerStrip" },
107 0, 0,
"StripByteCounts" },
109 0, 0,
"StripByteCounts" },
111 1, 0,
"MinSampleValue" },
113 1, 0,
"MaxSampleValue" },
115 1, 0,
"XResolution" },
117 1, 0,
"YResolution" },
119 0, 0,
"PlanarConfiguration" },
127 0, 0,
"FreeOffsets" },
129 0, 0,
"FreeByteCounts" },
131 1, 0,
"GrayResponseUnit" },
133 1, 0,
"GrayResponseCurve" },
135 1, 0,
"ResolutionUnit" },
137 1, 0,
"PageNumber" },
139 1, 0,
"ColorResponseUnit" },
141 1, 0,
"TransferFunction" },
149 1, 0,
"HostComputer" },
151 1, 0,
"WhitePoint" },
153 1, 0,
"PrimaryChromaticities" },
157 1, 0,
"HalftoneHints" },
163 0, 0,
"TileLength" },
165 0, 0,
"TileLength" },
167 0, 0,
"TileOffsets" },
169 0, 0,
"TileByteCounts" },
171 0, 0,
"TileByteCounts" },
181 1, 0,
"NumberOfInks" },
187 1, 0,
"TargetPrinter" },
189 0, 1,
"ExtraSamples" },
192 0, 1,
"ExtraSamples" },
194 0, 0,
"SampleFormat" },
196 1, 0,
"SMinSampleValue" },
198 1, 0,
"SMaxSampleValue" },
202 0, 0,
"XClipPathUnits" },
204 0, 0,
"XClipPathUnits" },
206 0, 0,
"XClipPathUnits" },
208 0, 0,
"YClipPathUnits" },
210 0, 0,
"YClipPathUnits" },
212 0, 0,
"YClipPathUnits" },
214 0, 0,
"YCbCrCoefficients" },
216 0, 0,
"YCbCrSubsampling" },
218 0, 0,
"YCbCrPositioning" },
220 1, 0,
"ReferenceBlackWhite" },
223 1, 0,
"ReferenceBlackWhite" },
232 0, 0,
"ImageDepth" },
234 0, 0,
"ImageDepth" },
242 1, 0,
"ImageFullWidth" },
244 1, 0,
"ImageFullLength" },
246 1, 0,
"TextureFormat" },
248 1, 0,
"TextureWrapModes" },
250 1, 0,
"FieldOfViewCotangent" },
259 0, 1,
"RichTIFFIPTC" },
263 0, 0,
"EXIFIFDOffset" },
265 0, 1,
"ICC Profile" },
267 0, 0,
"GPSIFDOffset" },
271 0, 0,
"InteroperabilityIFDOffset" },
274 0, 0,
"DNGVersion" },
276 0, 0,
"DNGBackwardVersion" },
278 1, 0,
"UniqueCameraModel" },
280 1, 0,
"LocalizedCameraModel" },
282 1, 1,
"LocalizedCameraModel" },
284 0, 1,
"CFAPlaneColor" },
288 0, 1,
"LinearizationTable" },
290 0, 0,
"BlackLevelRepeatDim" },
292 0, 1,
"BlackLevel" },
294 0, 1,
"BlackLevel" },
296 0, 1,
"BlackLevel" },
298 0, 1,
"BlackLevelDeltaH" },
300 0, 1,
"BlackLevelDeltaV" },
302 0, 0,
"WhiteLevel" },
304 0, 0,
"WhiteLevel" },
306 0, 0,
"DefaultScale" },
308 0, 0,
"BestQualityScale" },
310 0, 0,
"DefaultCropOrigin" },
312 0, 0,
"DefaultCropOrigin" },
314 0, 0,
"DefaultCropOrigin" },
316 0, 0,
"DefaultCropSize" },
318 0, 0,
"DefaultCropSize" },
320 0, 0,
"DefaultCropSize" },
322 0, 1,
"ColorMatrix1" },
324 0, 1,
"ColorMatrix2" },
326 0, 1,
"CameraCalibration1" },
328 0, 1,
"CameraCalibration2" },
330 0, 1,
"ReductionMatrix1" },
332 0, 1,
"ReductionMatrix2" },
334 0, 1,
"AnalogBalance" },
336 0, 1,
"AsShotNeutral" },
338 0, 1,
"AsShotNeutral" },
340 0, 0,
"AsShotWhiteXY" },
342 0, 0,
"BaselineExposure" },
344 0, 0,
"BaselineNoise" },
346 0, 0,
"BaselineSharpness" },
348 0, 0,
"BayerGreenSplit" },
350 0, 0,
"LinearResponseLimit" },
352 1, 0,
"CameraSerialNumber" },
356 0, 0,
"ChromaBlurRadius" },
358 0, 0,
"AntiAliasStrength" },
360 0, 0,
"ShadowScale" },
362 0, 1,
"DNGPrivateData" },
364 0, 0,
"MakerNoteSafety" },
366 0, 0,
"CalibrationIlluminant1" },
368 0, 0,
"CalibrationIlluminant2" },
370 0, 0,
"RawDataUniqueID" },
372 1, 0,
"OriginalRawFileName" },
374 1, 1,
"OriginalRawFileName" },
376 0, 1,
"OriginalRawFileData" },
378 0, 0,
"ActiveArea" },
380 0, 0,
"ActiveArea" },
382 0, 1,
"MaskedAreas" },
384 0, 1,
"AsShotICCProfile" },
386 0, 1,
"AsShotPreProfileMatrix" },
388 0, 1,
"CurrentICCProfile" },
390 0, 1,
"CurrentPreProfileMatrix" },
397 1, 0,
"ExposureTime" },
401 1, 0,
"ExposureProgram" },
403 1, 0,
"SpectralSensitivity" },
405 1, 1,
"ISOSpeedRatings" },
407 1, 1,
"OptoelectricConversionFactor" },
409 1, 0,
"ExifVersion" },
411 1, 0,
"DateTimeOriginal" },
413 1, 0,
"DateTimeDigitized" },
415 1, 0,
"ComponentsConfiguration" },
417 1, 0,
"CompressedBitsPerPixel" },
419 1, 0,
"ShutterSpeedValue" },
421 1, 0,
"ApertureValue" },
423 1, 0,
"BrightnessValue" },
425 1, 0,
"ExposureBiasValue" },
427 1, 0,
"MaxApertureValue" },
429 1, 0,
"SubjectDistance" },
431 1, 0,
"MeteringMode" },
433 1, 0,
"LightSource" },
437 1, 0,
"FocalLength" },
439 1, 1,
"SubjectArea" },
443 1, 1,
"UserComment" },
445 1, 0,
"SubSecTime" },
447 1, 0,
"SubSecTimeOriginal" },
449 1, 0,
"SubSecTimeDigitized" },
451 1, 0,
"FlashpixVersion" },
453 1, 0,
"PixelXDimension" },
455 1, 0,
"PixelXDimension" },
457 1, 0,
"PixelYDimension" },
459 1, 0,
"PixelYDimension" },
461 1, 0,
"RelatedSoundFile" },
463 1, 0,
"FlashEnergy" },
465 1, 1,
"SpatialFrequencyResponse" },
467 1, 0,
"FocalPlaneXResolution" },
469 1, 0,
"FocalPlaneYResolution" },
471 1, 0,
"FocalPlaneResolutionUnit" },
473 1, 0,
"SubjectLocation" },
475 1, 0,
"ExposureIndex" },
477 1, 0,
"SensingMethod" },
479 1, 0,
"FileSource" },
483 1, 1,
"CFAPattern" },
485 1, 0,
"CustomRendered" },
487 1, 0,
"ExposureMode" },
489 1, 0,
"WhiteBalance" },
491 1, 0,
"DigitalZoomRatio" },
493 1, 0,
"FocalLengthIn35mmFilm" },
495 1, 0,
"SceneCaptureType" },
497 1, 0,
"GainControl" },
501 1, 0,
"Saturation" },
505 1, 1,
"DeviceSettingDescription" },
507 1, 0,
"SubjectDistanceRange" },
509 1, 0,
"ImageUniqueID" }
516 return tiffFieldInfo;
523 return exifFieldInfo;
549 tagCompare(
const void*
a,
const void*
b)
561 tagNameCompare(
const void*
a,
const void*
b)
587 for (i = 0; i <
n; i++)
600 fprintf(fd,
"%s: \n", tif->
tif_name);
603 fprintf(fd,
"field[%2d] %5lu, %2d, %2d, %d, %2d, %5s, %5s, %s\n" 726 return (ret) ? (*ret) :
NULL;
727 }
else for (i = 0, n = tif->
tif_nfields; i < n; i++) {
759 return (ret) ? (*ret) :
NULL;
776 "Internal error, unknown tag 0x%x",
791 "Internal error, unknown tag %s", field_name);
841 sprintf(fld->
field_name,
"Tag %d", (
int) tag);
#define TIFFTAG_REDUCTIONMATRIX2
#define TIFFTAG_FREEBYTECOUNTS
#define TIFFTAG_SUBFILETYPE
#define TIFFTAG_ORIGINALRAWFILENAME
#define TIFFTAG_CELLWIDTH
#define TIFFTAG_INTEROPERABILITYIFD
#define TIFFTAG_LINEARIZATIONTABLE
#define EXIFTAG_DEVICESETTINGDESCRIPTION
#define EXIFTAG_FLASHENERGY
#define TIFFTAG_COPYRIGHT
GLboolean GLboolean GLboolean GLboolean a
#define FIELD_MINSAMPLEVALUE
#define TIFFTAG_BITSPERSAMPLE
#define TIFFTAG_ROWSPERSTRIP
#define TIFFTAG_DNGVERSION
#define TIFFTAG_ICCPROFILE
#define FIELD_STRIPOFFSETS
#define TIFFTAG_STRIPBYTECOUNTS
const TIFFFieldInfo * _TIFFGetFieldInfo(size_t *size)
#define TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN
#define EXIFTAG_SUBJECTAREA
#define TIFFTAG_EXTRASAMPLES
#define TIFFTAG_ORIENTATION
#define FIELD_IMAGEDIMENSIONS
#define TIFFTAG_ORIGINALRAWFILEDATA
#define TIFFTAG_IMAGEWIDTH
#define TIFFTAG_YRESOLUTION
#define FIELD_THRESHHOLDING
#define EXIFTAG_EXPOSUREINDEX
#define TIFFTAG_CALIBRATIONILLUMINANT2
#define TIFFTAG_MINSAMPLEVALUE
#define TIFFTAG_BLACKLEVELREPEATDIM
#define EXIFTAG_IMAGEUNIQUEID
#define TIFFTAG_FILLORDER
const TIFFFieldInfo * _TIFFGetExifFieldInfo(size_t *size)
#define TIFFTAG_BASELINEEXPOSURE
#define TIFFTAG_COLORMATRIX2
#define EXIFTAG_FOCALPLANEXRESOLUTION
#define EXIFTAG_FOCALPLANERESOLUTIONUNIT
#define FIELD_HALFTONEHINTS
#define EXIFTAG_MAKERNOTE
#define TIFFTAG_STRIPOFFSETS
#define TIFFTAG_PIXAR_FOVCOT
#define TIFFTAG_THRESHHOLDING
#define EXIFTAG_PIXELYDIMENSION
const TIFFFieldInfo * _TIFFFindOrRegisterFieldInfo(TIFF *tif, ttag_t tag, TIFFDataType dt)
#define TIFFTAG_PIXAR_IMAGEFULLWIDTH
#define TIFFTAG_YCBCRSUBSAMPLING
#define FIELD_RESOLUTIONUNIT
#define TIFFTAG_YPOSITION
#define TIFFTAG_SMINSAMPLEVALUE
#define TIFFTAG_REFERENCEBLACKWHITE
#define TIFFTAG_PLANARCONFIG
#define EXIFTAG_ISOSPEEDRATINGS
typedef void(APIENTRY *GLDEBUGPROCARB)(GLenum source
#define TIFFTAG_ANTIALIASSTRENGTH
#define TIFFTAG_PRIMARYCHROMATICITIES
#define FIELD_YCBCRSUBSAMPLING
GLboolean GLboolean GLboolean b
#define TIFFTAG_CURRENTPREPROFILEMATRIX
#define TIFFTAG_CAMERACALIBRATION2
#define FIELD_SMAXSAMPLEVALUE
#define EXIFTAG_DATETIMEORIGINAL
#define EXIFTAG_EXPOSURETIME
#define TIFFTAG_TILEBYTECOUNTS
#define TIFFTAG_YCBCRCOEFFICIENTS
#define EXIFTAG_LIGHTSOURCE
#define FIELD_TRANSFERFUNCTION
#define TIFFTAG_CURRENTICCPROFILE
#define TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA
#define FIELD_MAXSAMPLEVALUE
#define EXIFTAG_WHITEBALANCE
#define FIELD_BITSPERSAMPLE
#define TIFFTAG_YCBCRPOSITIONING
#define TIFFTAG_PIXAR_WRAPMODES
#define TIFFTAG_MAKERNOTESAFETY
#define TIFFTAG_TILEWIDTH
#define TIFFTAG_IMAGEDESCRIPTION
#define EXIFTAG_SATURATION
#define FIELD_STRIPBYTECOUNTS
#define TIFFTAG_MASKEDAREAS
void _TIFFSetupFieldInfo(TIFF *tif, const TIFFFieldInfo info[], size_t n)
#define EXIFTAG_RELATEDSOUNDFILE
#define EXIFTAG_EXPOSUREBIASVALUE
#define TIFFTAG_TILELENGTH
#define TIFFTAG_CAMERACALIBRATION1
unsigned char field_passcount
#define EXIFTAG_USERCOMMENT
#define TIFFTAG_CAMERASERIALNUMBER
#define EXIFTAG_SHUTTERSPEEDVALUE
#define TIFFTAG_ANALOGBALANCE
#define TIFFTAG_IMAGELENGTH
#define FIELD_PLANARCONFIG
#define TIFFTAG_TILEOFFSETS
#define EXIFTAG_SUBJECTLOCATION
#define EXIFTAG_FILESOURCE
#define TIFFTAG_SAMPLESPERPIXEL
#define TIFFTAG_BAYERGREENSPLIT
#define EXIFTAG_FOCALLENGTH
#define SAMPLEFORMAT_VOID
#define TIFFTAG_DNGBACKWARDVERSION
#define EXIFTAG_EXIFVERSION
#define TIFFTAG_BASELINENOISE
#define TIFFTAG_FREEOFFSETS
#define EXIFTAG_EXPOSUREPROGRAM
#define TIFFTAG_ASSHOTWHITEXY
#define TIFFTAG_DOCUMENTNAME
#define EXIFTAG_FOCALPLANEYRESOLUTION
#define TIFFTAG_BESTQUALITYSCALE
#define EXIFTAG_SUBSECTIMEORIGINAL
#define TIFFTAG_XMLPACKET
#define TIFFTAG_BLACKLEVELDELTAH
#define SAMPLEFORMAT_UINT
#define TIFFTAG_ASSHOTICCPROFILE
#define TIFFTAG_GRAYRESPONSECURVE
#define EXIFTAG_EXPOSUREMODE
#define EXIFTAG_SHARPNESS
#define EXIFTAG_COMPRESSEDBITSPERPIXEL
#define EXIFTAG_DIGITALZOOMRATIO
#define TIFFTAG_CHROMABLURRADIUS
#define SAMPLEFORMAT_IEEEFP
#define TIFFTAG_PIXAR_IMAGEFULLLENGTH
#define TIFFTAG_XPOSITION
void _TIFFMergeFieldInfo(TIFF *tif, const TIFFFieldInfo info[], int n)
#define TIFFTAG_RAWDATAUNIQUEID
#define TIFFTAG_HALFTONEHINTS
void * _TIFFrealloc(tdata_t p, tsize_t s)
#define TIFFTAG_DNGPRIVATEDATA
#define FIELD_PHOTOMETRIC
#define TIFFTAG_DEFAULTSCALE
#define TIFFTAG_LINEARRESPONSELIMIT
#define EXIFTAG_SUBSECTIME
#define EXIFTAG_SUBSECTIMEDIGITIZED
void TIFFErrorExt(thandle_t fd, const char *module, const char *fmt,...)
#define TIFFTAG_PHOTOMETRIC
#define EXIFTAG_DATETIMEDIGITIZED
#define EXIFTAG_FLASHPIXVERSION
#define TIFFTAG_PAGENUMBER
#define FIELD_COMPRESSION
#define TIFFTAG_ASSHOTPREPROFILEMATRIX
#define FIELD_SMINSAMPLEVALUE
#define FIELD_ROWSPERSTRIP
#define EXIFTAG_BRIGHTNESSVALUE
#define TIFFTAG_GRAYRESPONSEUNIT
#define TIFFTAG_PIXAR_TEXTUREFORMAT
#define TIFFTAG_BASELINESHARPNESS
#define TIFFTAG_HOSTCOMPUTER
#define EXIFTAG_SUBJECTDISTANCE
#define TIFFTAG_TRANSFERFUNCTION
#define TIFFTAG_WHITEPOINT
TIFFFieldInfo ** tif_fieldinfo
#define EXIFTAG_CFAPATTERN
#define TIFFTAG_SHADOWSCALE
#define TIFFTAG_DEFAULTCROPORIGIN
#define TIFFTAG_COMPRESSION
#define FIELD_ORIENTATION
#define TIFFTAG_CFALAYOUT
#define EXIFTAG_SCENETYPE
#define TIFFArrayCount(a)
void _TIFFmemset(tdata_t p, int v, tsize_t c)
#define TIFFTAG_XCLIPPATHUNITS
#define TIFFTAG_NUMBEROFINKS
#define TIFFTAG_SMAXSAMPLEVALUE
const TIFFFieldInfo * _TIFFFieldWithName(TIFF *tif, const char *field_name)
#define TIFFTAG_COLORMATRIX1
#define FIELD_YCBCRPOSITIONING
int TIFFDataWidth(TIFFDataType type)
void _TIFFPrintFieldInfo(TIFF *tif, FILE *fd)
#define TIFFTAG_LOCALIZEDCAMERAMODEL
#define EXIFTAG_GAINCONTROL
int _TIFFDataSize(TIFFDataType type)
#define FIELD_EXTRASAMPLES
#define TIFFTAG_CELLLENGTH
#define TIFFTAG_ASSHOTNEUTRAL
const TIFFFieldInfo * _TIFFFieldWithTag(TIFF *tif, ttag_t tag)
#define TIFFTAG_TILEDEPTH
#define EXIFTAG_COMPONENTSCONFIGURATION
#define TIFFTAG_IMAGEDEPTH
#define TIFFTAG_RESOLUTIONUNIT
#define EXIFTAG_SCENECAPTURETYPE
#define TIFFTAG_XRESOLUTION
#define TIFFTAG_BLACKLEVELDELTAV
#define TIFFTAG_DEFAULTCROPSIZE
#define TIFFTAG_COLORRESPONSEUNIT
#define EXIFTAG_APERTUREVALUE
#define TIFFTAG_CFAPLANECOLOR
#define FIELD_TILEDIMENSIONS
#define TIFFTAG_WHITELEVEL
#define TIFFTAG_ACTIVEAREA
const TIFFFieldInfo * tif_foundfield
#define EXIFTAG_SPATIALFREQUENCYRESPONSE
unsigned char field_oktochange
#define TIFFTAG_RICHTIFFIPTC
#define TIFFTAG_TARGETPRINTER
#define EXIFTAG_SPECTRALSENSITIVITY
const TIFFFieldInfo * _TIFFFindFieldInfo(TIFF *tif, ttag_t tag, TIFFDataType dt)
TIFFFieldInfo * _TIFFCreateAnonFieldInfo(TIFF *tif, ttag_t tag, TIFFDataType field_type)
#define TIFFTAG_UNIQUECAMERAMODEL
#define TIFFTAG_REDUCTIONMATRIX1
void * _TIFFmalloc(tsize_t s)
#define EXIFTAG_CUSTOMRENDERED
#define FIELD_SAMPLESPERPIXEL
#define TIFFTAG_YCLIPPATHUNITS
void _TIFFfree(tdata_t p)
TIFFDataType _TIFFSampleToTagType(TIFF *tif)
#define EXIFTAG_FOCALLENGTHIN35MMFILM
#define EXIFTAG_SUBJECTDISTANCERANGE
#define EXIFTAG_MAXAPERTUREVALUE
#define TIFFTAG_SAMPLEFORMAT
#define TIFFTAG_OSUBFILETYPE
#define FIELD_SAMPLEFORMAT
const TIFFFieldInfo * _TIFFFindFieldInfoByName(TIFF *tif, const char *field_name, TIFFDataType dt)
#define EXIFTAG_PIXELXDIMENSION
#define TIFFTAG_BLACKLEVEL
#define TIFFTAG_MAXSAMPLEVALUE
#define TIFFTAG_PHOTOSHOP
#define TIFFTAG_CALIBRATIONILLUMINANT1
#define FIELD_SUBFILETYPE
#define EXIFTAG_METERINGMODE
#define EXIFTAG_SENSINGMETHOD