Here is the example output of the "tiffinfo" windows executable to which I linked, running on my Mac under Wine, applied to a Canon 5DII raw file:
_MG_0001.CR2: FileID=II, Ver=2A, IFD #1 w/ 17 Tags
TagName(ID,Type,Len,Ofst) =Value
ImageWidth(0100,3,1,001A) =5616
ImageLength(0101,3,1,0026) =3744
BitsPerSample(0102,3,3,00E2) =8 8 8
Compression(0103,3,1,003E) =6 {JpegCompression}
Make(010F,2,6,00E8) ="Canon"
Model(0110,2,15,00EE) ="Canon EOS 5D Mark II"
StripOffsets(0111,4,1,0062) =55628
Orientation(0112,3,1,006E) =1 {TopLeft, Normal}
StripByteCounts(0117,4,1,007A)=4657209
XResolution(011A,5,1,010E) =72/1 (=72)
YResolution(011B,5,1,0116) =72/1 (=72)
ResolutionUnit(0128,3,1,009E) =2 {InchUnits}
DateTime(0132,2,14,011E) ="2014:03:09 15:44:13"
Artist(013B,2,1,00B6) =""
Copyright(8298,2,1,00C2) =""
Exif(8769,4,1,00CE) =434
TagName(ID,Type,Len,Ofst) =Value
ExposureTime(829A,5,1,032C) =1/1000 (=0.001)
FNumber(829D,5,1,0334) =4/1 (=4)
ExposureProgram(8822,3,1,01D4) =1
ISOSpeedRatings(8827,3,1,01E0) =100
ExifVersion(9000,7,4,01EC) =48 50 50 49
DateTimeOriginal(9003,2,14,033C) ="2014:03:09 15:44:13"
DateTimeDigitized(9004,2,14,0350) ="2014:03:09 15:44:13"
ComponentsConfiguration(9101,7,4,0210) =1 2 3 0
ShutterSpeedValue(9201,A,1,0364) =655360/65536 (=10)
ApertureValue(9202,5,1,036C) =262144/65536 (=4)
ExposureBiasValue(9204,A,1,0374) =0/1 (=0)
MeteringMode(9207,3,1,0240) =5
Flash(9209,3,1,024C) =16
FocalLength(920A,5,1,037C) =15/1 (=15)
MakerNote(927C,7,A0B8,0384) =39 0 1 0 3 0 49 0 0 0 94 5 0 0 ...
UserComment(9286,7,108,A43C) =0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
SubsecTime(9290,2,3,027C) ="04"
SubsecTimeOriginal(9291,2,3,0288) ="04"
SubsecTimeDigitized(9292,2,3,0294) ="04"
FlashpixVersion(A000,7,4,02A0) =48 49 48 48
ColorSpace(A001,3,1,02AC) =65535
PixelXDimension(A002,3,1,02B8) =5616
PixelYDimension(A003,3,1,02C4) =3744
Interoperability(A005,4,1,02D0) =42308
FocalPlaneXResolution(A20E,5,1,A562) =5616000/1459 (=3849.21)
FocalPlaneYResolution(A20F,5,1,A56A) =3744000/958 (=3908.14)
FocalPlaneResolutionUnit(A210,3,1,02F4)=2 {InchUnits}
CustomRendered(A401,3,1,0300) =0
ExposureMode(A402,3,1,030C) =1
WhiteBalance(A403,3,1,0318) =1
SceneCaptureType(A406,3,1,0324) =0
GPS(8825,4,1,00DA) =42354
_MG_0001.CR2: FileID=II, Ver=2A, IFD #2 w/ 2 Tags
TagName(ID,Type,Len,Ofst) =Value
JPEGInterchangeFmt(0201,4,1,AC7E) =44460
JPEGInterchangeFmtLen(0202,4,1,AC8A)=11166
_MG_0001.CR2: FileID=II, Ver=2A, IFD #3 w/ 13 Tags
TagName(ID,Type,Len,Ofst) =Value
ImageWidth(0100,3,1,AC9C) =362
ImageLength(0101,3,1,ACA8) =234
BitsPerSample(0102,3,3,AD34) =16 16 16
Compression(0103,3,1,ACC0) =1 {NoCompression}
Photometric(0106,3,1,ACCC) =2 {RGB}
StripOffsets(0111,4,1,ACD8) =4712840
SamplesPerPixel(0115,3,1,ACE4)=3
RowsPerStrip(0116,3,1,ACF0) =234
StripByteCounts(0117,4,1,ACFC)=508248
PlanarConfig(011C,3,1,AD08) =1 {ChunkyFormat}
UndefinedTag(C5D9,4,1,AD14) =2
UndefinedTag(C6C5,4,1,AD20) =3
UndefinedTag(C6DC,4,4,AD3A) =348 232 13 2
_MG_0001.CR2: FileID=II, Ver=2A, IFD #4 w/ 7 Tags
TagName(ID,Type,Len,Ofst) =Value
Compression(0103,3,1,AD54) =6 {JpegCompression}
StripOffsets(0111,4,1,AD60) =5589384
StripByteCounts(0117,4,1,AD6C)=22390002
UndefinedTag(C5D8,4,1,AD78) =1
UndefinedTag(C5E0,4,1,AD84) =3
Cr2Slice(C640,3,3,ADA4) =2 1936 1920
UndefinedTag(C6C5,4,1,AD9C) =1
This was generated by running:
tiffinfo rawfilename.CR2 > textfileoutputname.txt
which writes the output to a text file.
kirk