1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Exif file format</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</HEAD>
<BODY>
<A HREF="exif.html">Japanese document</A>
<H1>Description of Exif file format</H1>
Currently, most of new digicam use Exif file format to store images. This specification was made by <A HREF="http://www.jeida.or.jp">JEIDA</A>, but there is no open document in internet. So I made tiny description about Exif from some of open documents that can get from internet.<BR>
<BR>
<FONT COLOR="Maroon">Add: Now we can get official document of <A HREF="http://www.pima.net/standards/it10/PIMA15740/exif.htm">Exif2.1</A> from <A HREF="http://www.pima.net">PIMA</A>'s website.</FONT><BR>
<BR>
ISO is now working to build DCF (Design rule for Camera File system) Specification. The entire digicam manufacturer is moving to adopt it and their newest digicam already uses DCF. DCF defines whole file-system of digicam; directory structure, file naming method, character set and file format etc. The file format of DCF is based on Exif2.1 specification.<BR>
<BR>
I believe this document is basically based on Exif2.1/DCF specification, if you have information about 'unknown' item or find errata, please e-mail me, TsuruZoh Tachibanaya , <em> t s u r u z o h @ b a . w a k w a k . c o m </em><BR>
<BR>
<BR>
This is a FREE document, you may use this document for any purpose (commercial/non-commercial) of all/part of this document. All trade names mentioned in this document are trademarks or registered trademarks of their respective holders. <BR>
<P ALIGN="right">
TsuruZoh Tachibanaya, <em> t s u r u z o h @ b a . w a k w a k . c o m </em><BR>
<BR>
<A HREF="http://www.ba.wakwak.com/~tsuruzoh/">http://www.ba.wakwak.com/~tsuruzoh/</A><BR>
<BR>
<A HREF="#HIST">rev. 1.4 Feb.03,2001</A><BR>
rev. 1.3 Sep.09,2000<BR>
rev. 1.2 Jul.19,2000<BR>
rev. 1.1 Dec.19,1999<BR>
rev. 1.0 May.28,1999<BR>
</P>
<HR>
<CENTER>
<H2>Referenced materials</H2>
<A HREF="http://www.itojun.org/diary/199610.IWOOOS/exif.html">Exif file format</A> written by itojun (Japanese language document)<BR>
<A HREF="http://www.yk.rim.or.jp/~mamo/Computer/DS-7/exif.html">Exif file format</A> written by Mamoru Ohno (Japanese language document)<BR>
<A HREF="http://partners.adobe.com/asn/developer/PDFS/TN/TIFF6.pdf">TIFF6.0 Specification</A> written by Adobe<BR>
<A HREF="http://www.pima.net/standards/iso/standards/documents/N4378.pdf">TIFF/EP Specification</A> written by ISO TC42 WG18<BR>
<A HREF="http://topo.math.u-psud.fr/~bousch/exifdump.py">exifdump</A> program written by Thierry Boush<BR>
<A HREF="http://www.pima.net/standards/iso/tc42/wg18/ISO12234_all/N4522_CD12234-3_Item189-3.PDF">DCF Specification</A> written by ISO TC42 WG18<BR>
<A HREF="http://www.pima.net/standards/it10/PIMA15740/exif.htm">Exif2.1 Specification</A> written by <A HREF="http://www.jeida.or.jp">JEIDA</A><BR>
<BR>
</CENTER>
<HR>
<UL>
<LI><A HREF="#AboutExif">What is Exif format?</A>
<LI><A HREF="#JpegMarker">JPEG format and Marker</A>
<LI><A HREF="#ExifMarker">Marker used by Exif</A>
<LI><A HREF="#ExifData">Exif data structure</A>
<UL>
<LI><A HREF="#TiffHeader">TIFF Header</A>
<LI><A HREF="#IFD">IFD : Image file directory</A>
<LI><A HREF="#DataForm">Data format</A>
<LI><A HREF="#IFDRead">IFD data structure</A>
<LI><A HREF="#ExifThumbs">Thumbnail image</A>
<UL>
<LI><A HREF="#JPEGThumbs">JPEG format thumnail</A>
<LI><A HREF="#TIFFThumbs">TIFF format thumbnail</A>
</UL>
</UL>
<LI><A HREF="#ExifTags">Tag number used by Exif/TIFF</A>
<UL>
<LI><A HREF="#IFD0Tags">IFD0 (IFD of main image) section</A>
<LI><A HREF="#ExifIFDTags">Exif SubIFD section</A>
<LI><A HREF="#IFD1Tags">IFD1 (IFD of thumbnail image) section</A>
<LI><A HREF="#MiscTags">Misc Tags</A>
</UL>
<LI><A HREF="#APP1">Appendix 1: MakerNote of Olympus digicams</A>
<LI><A HREF="#APP2">Appendix 2: MakerNote of Nikon digicams</A>
<LI><A HREF="#APP3">Appendix 3: MakerNote of Casio digicams</A>
<LI><A HREF="#APP4">Appendix 4: MakerNote of Fujifilm digicams</A>
<LI><A HREF="#APP5">Appendix 5: MakerNote of Canon digicams</A>
<LI><A HREF="#HIST">History</A>
<LI><A HREF="#THANKS">Acknowledgement</A>
</UL>
<HR>
<BR>
<H2><A NAME="AboutExif">What is Exif file format?</A></H2>
Basically, Exif file format is the same as JPEG file format. Exif inserts some of image/digicam information data and thumbnail image to JPEG in conformity to JPEG specification. Therefore you can view Exif format image files by JPEG compliant Internet browser/Picture viewer/Photo retouch software etc. as a usual JPEG image files.<BR>
<BR>
<H2><A NAME="JpegMarker">JPEG format and Marker</A></H2>
Every JPEG file starts from binary value '0xFFD8', ends by binary value '0xFFD9'. There are several binary 0xFFXX data in JPEG data, they are called as <B>"Marker"</B>, and it means the period of JPEG information data. 0xFFD8 means <B>SOI</B>(Start of image), 0xFFD9 means <B>EOI</B>(End of image). These two special Markers have no data following, the other Markers have data with it. Basic format of Marker is below.<BR>
<BR>
<B>0xFF+Marker Number(1 byte)+Data size(2 bytes)+Data(n bytes)</B><BR>
<BR>
<B>Data size</B>(2 Bytes) has "Motorola" byte align, starts from bigger digits. Please notice that "Data" contains Data size descriptor, if there is a Marker like this;<BR>
<BR>
<B>FF C1 00 0C</B><BR>
<BR>
It means this Marker(0xFFC1) has 0x000C(equal 12)bytes of data. But the data size '12' includes "Data size" descriptor, it follows only 10 bytes of data after 0x000C.<BR>
<BR>
In JPEG format, some of Markers describe data, then <B>SOS</B>(Start of stream) Marker placed. After the SOS marker, JPEG image stream starts and terminated by EOI Marker.<BR>
<BR>
<TABLE BORDER=1>
<TR><TD>SOI Marker</TD><TD COLSPAN=3>Marker XX size=SSSS</TD><TD COLSPAN=3>Marker YY size=TTTT</TD><TD COLSPAN=3>SOS Marker size=UUUU</TD><TD>Image stream</TD><TD>EOI Marker</TD></TR>
<TR><TD>FFD8</TD><TD>FFXX</TD><TD>SSSS</TD><TD>DDDD......</TD><TD>FFYY</TD><TD>TTTT</TD><TD>DDDD......</TD><TD>FFDA</TD><TD>UUUU</TD><TD>DDDD....</TD><TD>I I I I....</TD><TD>FFD9</TD></TR>
</TABLE>
<BR>
<H2><A NAME="ExifMarker">Marker used by Exif</A></H2>
The marker 0xFFE0~0xFFEF is named <B>"Application Marker"</B>, not necessary for decoding JPEG image. They are used by user application. For example, older olympus/canon/casio/agfa digicam use JFIF(JPEG File Interchange Format) for storing images. JFIF uses APP0(0xFFE0) Marker for inserting digicam configuration data and thumbnail image.<BR>
<BR>
Also Exif uses an Application Marker for inserting data, but Exif uses <B>APP1(0xFFE1)</B> Marker to avoid a conflict with JFIF format. Every Exif file formats starts from this format;<BR>
<BR>
<TABLE BORDER=1>
<TR><TD>SOI Marker</TD><TD>APP1 Marker</TD><TD>APP1 Data</TD><TD>Other Marker</TD></TR>
<TR><TD>FFD8</TD><TD>FFE1</TD><TD>SSSS 457869660000 TTTT......</TD><TD>FFXX SSSS DDDD......</TD></TR>
</TABLE>
<BR>
It starts from SOI(0xFFD8) Marker, so it's a JPEG file. Then APP1 Marker follows immediately. All the data of Exif are stored in this APP1 data area. The part of "SSSS" on upper table means the size of APP1 data area (Exif data area). Please notice that the size "SSSS" includes the size of descriptor itself also. <BR>
<BR>
After the "SSSS", APP1 data starts. The first part is a special data to identify whether Exif or not, ASCII character "Exif" and 2bytes of 0x00 are used.<BR>
<BR>
After the APP1 Marker area, the other JPEG Markers follows.
<BR>
<BR>
<H2><A NAME="ExifData">Exif data structure</A></H2>
Roughly structure of Exif data (APP1) is shown as below. This is a case of "Intel" byte aligns and it contains JPEG format thumbnail. As described above, Exif data is starts from ASCII character "Exif" and 2bytes of 0x00, and then Exif data follows. Exif uses TIFF format to store data. For more details of TIFF format, please refer to <A HREF="http://partners.adobe.com/asn/developer/PDFS/TN/TIFF6.pdf">"TIFF6.0 specification"</A>.<BR>
<BR>
<BR>
<TABLE BORDER=1>
<TR><TD>FFE1</TD><TD COLSPAN=5>APP1 Marker</TD></TR>
<TR><TD>SSSS</TD><TD ROWSPAN=19>APP1 Data</TD><TD COLSPAN=4>APP1 Data Size</TD></TR>
<TR><TD>45786966 0000</TD><TD COLSPAN=4>Exif Header</TD></TR>
<TR><TD>49492A00 08000000</TD><TD COLSPAN=4>TIFF Header</TD></TR>
<TR><TD>XXXX. . . . </TD><TD COLSPAN=3 ROWSPAN=2>IFD0 (main image)</TD><TD>Directory</TD></TR>
<TR><TD>LLLLLLLL</TD><TD>Link to IFD1</TD></TR>
<TR><TD>XXXX. . . . </TD><TD COLSPAN=4>Data area of IFD0</TD></TR>
<TR><TD>XXXX. . . . </TD><TD ROWSPAN=9> </TD><TD COLSPAN=2 ROWSPAN=2>Exif SubIFD</TD><TD>Directory</TD></TR>
<TR><TD>00000000</TD><TD>End of Link</TD></TR>
<TR><TD>XXXX. . . . </TD><TD COLSPAN=3>Data area of Exif SubIFD</TD></TR>
<TR><TD>XXXX. . . . </TD><TD ROWSPAN=6> </TD><TD ROWSPAN=2>Interoperability IFD</TD><TD>Directory</TD></TR>
<TR><TD>00000000</TD><TD>End of Link</TD></TR>
<TR><TD>XXXX. . . . </TD><TD COLSPAN=2>Data area of Interoperability IFD</TD></TR>
<TR><TD>XXXX. . . . </TD><TD ROWSPAN=2>Makernote IFD</TD><TD>Directory</TD></TR>
<TR><TD>00000000</TD><TD>End of Link</TD></TR>
<TR><TD>XXXX. . . . </TD><TD COLSPAN=2>Data area of Makernote IFD</TD></TR>
<TR><TD>XXXX. . . . </TD><TD COLSPAN=3 ROWSPAN=2>IFD1(thumbnail image)</TD><TD>Directory</TD></TR>
<TR><TD>00000000</TD><TD>End of Link</TD></TR>
<TR><TD>XXXX. . . . </TD><TD COLSPAN=4>Data area of IFD1</TD></TR>
<TR><TD>FFD8XXXX. . . XXXXFFD9</TD><TD COLSPAN=4>Thumbnail image</TD></TR>
</TABLE>
<H3><A NAME="TiffHeader">Structure of TIFF header</A></H3>
First 8bytes of TIFF format are TIFF header. First 2bytes defines byte align of TIFF data. If it is 0x4949="I I", it means "Intel" type byte align. If it is 0x4d4d="MM", it means "Motorola" type byte align. For example, value '305,419,896' is noted as 0x12345678 by sixteenth system. At the Motorola align, it is stored as 0x12,0x34,0x56,0x78. If it's Intel align, it is stored as 0x78,0x56,0x34,0x12. It seems that most of digicam uses Intel align. Ricoh uses Motorola align. Sony uses Intel align except D700. Kodak DC200/210/240 use Motorola aligns, but DC220/260 use Intel aligns though they are using PowerPC! Therefore when we need the value of Exif data, we MUST check byte align every time. Though JPEG data uses Motorola align only, Exif allows both alignments. I can't understand why Exif didn't fix a byte align to Motorola. <BR>
<BR>
Next 2bytes are always 2bytes-length value of 0x002A. If the data uses Intel align, next 2bytes are "0x2a,0x00". If it uses Motorola, they are "0x00,0x2a". The last 4bytes of TIFF header are an offset to the first IFD(Image File Directory, described in next chapter). Includes this offset, all the offset value used in TIFF format counts offset bytes from the first of TIFF header("I I" or "MM"). Usually the first IFD starts immediately next to TIFF header, so this offset has value '0x00000008'.<BR>
<BR>
<TABLE BORDER=1>
<TR><TD>Byte align</TD><TD>TAG Mark</TD><TD>Offset to first IFD</TD></TR>
<TR><TD>"I I" or "MM"</TD><TD>0x002a</TD><TD>0x00000008</TD></TR>
</TABLE>
<H3><A NAME="IFD">IFD : Image file directory</A></H3>
Next to TIFF header, there is the first IFD:Image File Directory. It contains image information data. At the chart below, the first 2bytes('EEEE') means the number of directory entry contains in this IFD. Then directory entry (12bytes per entry) follows. After last directory entry, there is a 4bytes of data('LLLLLLLL' at the chart), it means an offset to next IFD. If its value is '0x00000000', it means this is the last IFD and there is no linked IFD.<BR>
<BR>
<TABLE BORDER=1>
<TR><TD COLSPAN=4>EEEE</TD><TD>No. of directory entry</TD></TR>
<TR><TD>TTTT</TD><TD>ffff</TD><TD>NNNNNNNN</TD><TD>DDDDDDDD</TD><TD>Entry 0</TD></TR>
<TR><TD>TTTT</TD><TD>ffff</TD><TD>NNNNNNNN</TD><TD>DDDDDDDD</TD><TD>Entry 1</TD></TR>
<TR><TD COLSPAN=4>. . . . . . . . .</TD><TD>. . . . . .</TD></TR>
<TR><TD>TTTT</TD><TD>ffff</TD><TD>NNNNNNNN</TD><TD>DDDDDDDD</TD><TD>Entry EEEE-1</TD></TR>
<TR><TD COLSPAN=4>LLLLLLLL</TD><TD>Offset to next IFD</TD></TR>
</TABLE>
<BR>
'TTTT'(2bytes) of above chart is Tag number, this shows a kind of data. 'ffff'(2bytes) is data format, 'NNNNNNNN'(4bytes) is number of components. 'DDDDDDDD'(4bytes) contains a data value or offset to data value.<BR>
<BR>
<H3><A NAME="DataForm">Data format</A></H3>
Data format ('ffff' at the above chart) is defined as below. "rational" means a fractional value, it contains 2-signed/unsigned long integer values, and the first represents the numerator, and the second, the denominator.
<BR>
<TABLE BORDER=1>
<TR><TD>Value</TD><TD>1</TD><TD>2</TD><TD>3</TD><TD>4</TD><TD>5</TD><TD>6</TD></TR>
<TR><TD>Format</TD><TD>unsigned byte</TD><TD>ascii strings</TD><TD>unsigned short</TD><TD>unsigned long</TD><TD>unsigned rational</TD><TD>signed byte</TD></TR>
<TR><TD>Bytes/component</TD><TD>1</TD><TD>1</TD><TD>2</TD><TD>4</TD><TD>8</TD><TD>1</TD></TR>
<TR><TD COLSPAN=7></TD></TR>
<TR><TD>Value</TD><TD>7</TD><TD>8</TD><TD>9</TD><TD>10</TD><TD>11</TD><TD>12</TD></TR>
<TR><TD>Format</TD><TD>undefined</TD><TD>signed short</TD><TD>signed long</TD><TD>signed rational</TD><TD>single float</TD><TD>double float</TD></TR>
<TR><TD>Bytes/component</TD><TD>1</TD><TD>2</TD><TD>4</TD><TD>8</TD><TD>4</TD><TD>8</TD></TR>
</TABLE>
<BR>
You can get the total data byte length by multiplies a 'bytes/components' value (see above chart) by number of components stored 'NNNNNNNN' area. If total data length is less than 4bytes, 'DDDDDDDD' contains the value of that Tag. If its size is over 4bytes, 'DDDDDDDD' contains the offset to data stored address.
<BR>
<H3><A NAME="IFDRead">IFD data structure</A></H3>
At Exif format, the first IFD is IFD0(IFD of main image), then it links to IFD1(IFD of thumbnail image) and IFD link is terminated. But IFD0/IFD1 doesn't contain any digicam's information such as shutter speed, focal length etc. IFD0 always contains special Tag <B>Exif Offset (0x8769)</B>, it shows an offset to <B>Exif SubIFD</B>. Exif SubIFD is IFD formatted data also, it contains digicam's information.<BR>
<BR>
In case of Extended Exif format (Exif2.1/DCF), Exif SubIFD contains special Tag <B>Exif Interoperability Offset (0xa005)</B>. It also points to the Interoperability IFD. By the DCF specification, this tag is mandatory and both SubIFD (main image IFD) and IFD1 (thumbnail image IFD) may have Interoperability IFD. In usual, only main image have this tag.<BR>
<BR>
And some of digicam uses IFD data format for Makernote; Maker-specific magic number area. It's very hard to decision whether makernote is IFD format or not, be careful to coding program. See Appendix for information of Makernote.
<BR>
<PRE>
0000: 49 49 2A 00 08 00 00 00-02 00 1A 01 05 00 01 00
0010: 00 00 26 00 00 00 69 87-04 00 01 00 00 00 11 02
0020: 00 00 40 00 00 00 48 00-00 00 01 00 00 00
</PRE>
If the first part of TIFF data is above, it can read as;
<UL>
<LI>The first 2bytes are "I I", byte align is 'Intel'.<BR>
<LI>Address 0x0004~0x0007 is 0x08000000, IFD0 starts from address '0x0008'<BR>
<LI>Address 0x0008~0x0009 is 0x0200, number of directory entry of IFD0 is '2'.<BR>
<LI>Address 0x000a~0x000b is 0x1A01, it means this is an XResolution(0x011A) Tag, it contains a horizontal resolution of image.<BR>
<LI>Address 0x000c~0x000d is 0x0500, format of this value is unsigned rational(0x0005).<BR>
<LI>Address 0x000e~0x0011 is 0x01000000, number of components is '1'. Unsigned rational's data size is 8bytes/components, so total data length is 1x8=8bytes.<BR>
<LI>Total data length is larger than 4bytes, so next 4bytes contains an offset to data.<BR>
<LI>Address 0x0012~0x0015 is 0x26000000, XResolution data is stored to address 0x0026<BR>
<LI>Address 0x0026~0x0029 is 0x48000000, numerator is 72, address 0x002a~0x002d is 0x0100000000, denominator is '1'. So the value of XResoultion is 72/1.<BR>
<LI>Address0x0016~0x0017 is 0x6987, next Tag is ExifOffset(0x8769). Its value is an offset to <B>Exif SubIFD</B><BR>
<LI>Data format is 0x0004, unsigned long integer.<BR>
<LI>This Tag has one component. Unsigned long integer's data size is 4bytes/components, so total data size is 4bytes.
<LI>Total data size is equal to 4bytes, next 4bytes contains the value of Exif SubIFD offset.<BR>
<LI>Address 0x001e~0x0021 is 0x11020000, Exif SubIFD starts from address '0x0211'.<BR>
<LI>This is the last directory entry, next 4bytes shows an offset to next IFD.<BR>
<LI>Address 0x0022~0x0025 is 0x40000000, next IFD starts from address '0x0040'
</UL>
<BR>
<H3><A NAME="ExifThumbs">Thumbnail image</A></H3>
Exif format contains thumbnail of image (except Ricoh RDC-300Z). Usually it is located next to the IFD1. There are 3 formats for thumbnails; JPEG format(JPEG uses YCbCr), RGB TIFF format, YCbCr TIFF format. It seems that JPEG format and 160x120 pixels of size are recommended thumbnail format for Exif2.1 or later. By the DCF specification, thumbnail image <B>MUST</B> use JPEG format and image size is fixed to 160x120 pixels.<BR>
<BR>
<H4><A NAME="JPEGThumbs">JPEG format thumbnail</A></H4>
If the value of <B>Compression(0x0103)</B> Tag in IFD1 is '6', thumbnail image format is JPEG. Most of Exif image uses JPEG format for thumbnail. In that case, you can get offset of thumbnail from <B>JpegIFOffset(0x0201)</B> Tag in IFD1, size of thumbnail from <B>JpegIFByteCount(0x0202)</B> Tag. Data format is ordinary JPEG format, starts from 0xFFD8 and ends by 0xFFD9. <BR>
<BR>
<H4><A NAME="TIFFThumbs">TIFF format thumbnail</A></H4>
If the value of <B>Compression(0x0103)</B> Tag in IFD1 is '1', thumbnail image format is no compression(called TIFF image). Start point of thumbnail data is <B>StripOffset(0x0111)</B> Tag, size of thumbnail is the sum of <B>StripByteCounts(0x0117)</B> Tag.<BR>
<BR>
If thumbnail uses no compression and <B>PhotometricInterpretation(0x0106)</B>Tag in IFD1 has a value '2', thumbnail uses RGB format. In that case, you can see thumbnail image by simply copy data to computer's RGB format(such as BMP format, or copy to VRAM directory). Kodak DC-210/220/260 uses this format. Be mention that at TIFF stores pixel data as 'RGB' order, but BMP stores 'BGR' order.<BR>
If that tag has a value '6', thumbnail uses YCbCr format. If you want to see thumbnail, you must convert it to RGB. Ricoh RDC4200/4300, Fuji DS-7/300 and DX-5/7/9 use this format(newer RDC5000/MX-X00 series use JPEG). Next section is brief description to conversion of Fuji DS's thumbnail. For more details, refer to <A HREF="http://partners.adobe.com/asn/developer/PDFS/TN/TIFF6.pdf">TIFF6.0 specification</A>.<BR>
<BR>
At DX-5/7/9, YCbCrSubsampling(0x0212) has values of '2,1', PlanarConfiguration(0x011c) has a value '1'. So the data align of this image is below.<BR>
<BR>
Y(0,0),Y(1,0),Cb(0,0),Cr(0,0), Y(2,0),Y(3,0),Cb(2,0),Cr(3.0), Y(4,0),Y(5,0),Cb(4,0),Cr(4,0). . . .<BR>
<BR>
The numeric in parenthesis is pixel coordinates. DX series' YCbCrCoefficients(0x0211) has values '0.299/0.587/0.114', ReferenceBlackWhite(0x0214) has values '0,255,128,255,128,255'. Therefore to convert from Y/Cb/Cr to RGB is;<BR>
<BR>
B(0,0)=(Cb-128)*(2-0.114*2)+Y(0,0)<BR>
R(0,0)=(Cr-128)*(2-0.299*2)+Y(0,0)<BR>
G(0,0)=(Y(0,0)-0.114*B(0,0)-0.299*R(0,0))/0.587<BR>
<BR>
Horizontal subsampling is a value '2', so you can calculate B(1,0)/R(1,0)/G(1,0) by using the Y(1,0) and Cr(0,0)/Cb(0,0). Repeat this conversion by value of ImageWidth(0x0100) and ImageLength(0x0101).<BR>
<BR>
<H2><A NAME="ExifTags">Tag number used by Exif/TIFF</A></H2>
Tag numbers used by Exif/TIFF are shown as below. If the Tag has upper limit of components number, CompoNo column has numeric value. If it has no value, there is no limitation.<BR>
<A NAME="IFD0Tags"><BR></A>
<TABLE BORDER=1>
<TR><TD COLSPAN=5><CENTER><FONT SIZE="+1"><B>Tags used by IFD0 (main image)</B></FONT></CENTER></TD></TR>
<TR><TD>Tag No.</TD><TD>Tag Name</TD><TD>Format</TD><TD>CompoNo</TD><TD>Desc.</TD></TR>
<TR><TD> 0x010e</TD><TD>ImageDescription </TD><TD> ascii string</TD><TD><BR> </TD><TD>Describes image. Two-byte character code such as Chinese/Korean/Japanese cannot be used.</TD></TR>
<TR><TD> 0x010f</TD><TD>Make </TD><TD> ascii string</TD><TD><BR> </TD><TD>Shows manufacturer of digicam. In the Exif standard, this tag is optional, but it is mandatory for DCF.</TD></TR>
<TR><TD> 0x0110</TD><TD>Model </TD><TD> ascii string</TD><TD><BR> </TD><TD>Shows model number of digicam. In the Exif standard, this tag is optional, but it is mandatory for DCF.</TD></TR>
<TR><TD> 0x0112</TD><TD>Orientation </TD><TD> unsigned short</TD><TD>1 </TD><TD>
<TABLE BORDER=1 ALIGN="right">
<TR><TD>Value</TD><TD>0th Row</TD><TD>0th Column</TD></TR>
<TR><TD>1</TD><TD>top</TD><TD>left side</TD></TR>
<TR><TD>2</TD><TD>top</TD><TD>right side</TD></TR>
<TR><TD>3</TD><TD>bottom</TD><TD>right side</TD></TR>
<TR><TD>4</TD><TD>bottom</TD><TD>left side</TD></TR>
<TR><TD>5</TD><TD>left side</TD><TD>top</TD></TR>
<TR><TD>6</TD><TD>right side</TD><TD>top</TD></TR>
<TR><TD>7</TD><TD>right side</TD><TD>bottom</TD></TR>
<TR><TD>8</TD><TD>left side</TD><TD>bottom</TD></TR>
</TABLE>
The orientation of the camera relative to the scene, when the image was captured. The relation of the '0th row' and '0th column' to visual position is shown as right.</TD></TR>
<TR><TD> 0x011a</TD><TD>XResolution </TD><TD> unsigned rational</TD><TD>1 </TD><TD ROWSPAN=2>Display/Print resolution of image. Default value is 1/72inch, but it has no mean because personal computer doesn't use this value to display/print out.</TD></TR>
<TR><TD> 0x011b</TD><TD>YResolution </TD><TD> unsigned rational</TD><TD>1 </TD></TR>
<TR><TD> 0x0128</TD><TD>ResolutionUnit </TD><TD> unsigned short</TD><TD>1 </TD><TD>Unit of XResolution(0x011a)/YResolution(0x011b). '1' means no-unit, '2' means inch, '3' means centimeter. Default value is '2'(inch).</TD></TR>
<TR><TD> 0x0131</TD><TD>Software </TD><TD> ascii string</TD><TD><BR> </TD><TD>Shows firmware(internal software of digicam) version number.</TD></TR>
<TR><TD> 0x0132</TD><TD>DateTime </TD><TD> ascii string</TD><TD>20 </TD><TD>Date/Time of image was last modified. Data format is "YYYY:MM:DD HH:MM:SS"+0x00, total 20bytes. If clock has not set or digicam doesn't have clock, the field may be filled with spaces. In usual, it has the same value of DateTimeOriginal(0x9003)</TD></TR>
<TR><TD> 0x013e</TD><TD>WhitePoint </TD><TD> unsigned rational</TD><TD>2 </TD><TD>Defines chromaticity of white point of the image. If the image uses CIE Standard Illumination D65(known as international standard of 'daylight'), the values are '3127/10000,3290/10000'.</TD></TR>
<TR><TD> 0x013f</TD><TD>PrimaryChromaticities </TD><TD> unsigned rational</TD><TD>6 </TD><TD>Defines chromaticity of the primaries of the image. If the image uses CCIR Recommendation 709 primaries, values are '640/1000,330/1000,300/1000,600/1000,150/1000,0/1000'.</TD></TR>
<TR><TD> 0x0211</TD><TD>YCbCrCoefficients </TD><TD> unsigned rational</TD><TD>3 </TD><TD>When image format is YCbCr, this value shows a constant to translate it to RGB format. In usual, values are '0.299/0.587/0.114'.</TD></TR>
<TR><TD> 0x0213</TD><TD>YCbCrPositioning </TD><TD> unsigned short</TD><TD>1 </TD><TD>When image format is YCbCr and uses 'Subsampling'(cropping of chroma data, all the digicam do that), defines the chroma sample point of subsampling pixel array. '1' means the center of pixel array, '2' means the datum point.</TD></TR>
<TR><TD> 0x0214</TD><TD>ReferenceBlackWhite </TD><TD> unsigned rational</TD><TD>6 </TD><TD>Shows reference value of black point/white point. In case of YCbCr format, first 2 show black/white of Y, next 2 are Cb, last 2 are Cr. In case of RGB format, first 2 show black/white of R, next 2 are G, last 2 are B.</TD></TR>
<TR><TD> 0x8298</TD><TD>Copyright </TD><TD> ascii string</TD><TD><BR> </TD><TD>Shows copyright information</TD></TR>
<TR><TD> 0x8769</TD><TD>ExifOffset </TD><TD> unsigned long</TD><TD>1 </TD><TD>Offset to Exif Sub IFD</TD></TR>
</TABLE>
<BR>
<A NAME="ExifIFDTags"><BR></A>
<TABLE BORDER=1>
<TR><TD COLSPAN=5><CENTER><FONT SIZE="+1"><B>Tags used by Exif SubIFD</B></FONT></CENTER></TD></TR>
<TR><TD>Tag No.</TD><TD>Tag Name</TD><TD>Format</TD><TD>CompoNo</TD><TD>Desc.</TD></TR>
<TR><TD> 0x829a</TD><TD>ExposureTime </TD><TD> unsigned rational</TD><TD>1 </TD><TD>Exposure time (reciprocal of shutter speed). Unit is second.</TD></TR>
<TR><TD> 0x829d</TD><TD>FNumber </TD><TD> unsigned rational</TD><TD>1 </TD><TD>The actual F-number(F-stop) of lens when the image was taken.</TD></TR>
<TR><TD> 0x8822</TD><TD>ExposureProgram </TD><TD> unsigned short</TD><TD>1 </TD><TD>Exposure program that the camera used when image was taken. '1' means manual control, '2' program normal, '3' aperture priority, '4' shutter priority, '5' program creative (slow program), '6' program action(high-speed program), '7' portrait mode, '8' landscape mode.</TD></TR>
<TR><TD> 0x8827</TD><TD>ISOSpeedRatings </TD><TD> unsigned short</TD><TD>2 </TD><TD>CCD sensitivity equivalent to Ag-Hr film speedrate.</TD></TR>
<TR><TD> 0x9000</TD><TD>ExifVersion </TD><TD> undefined</TD><TD>4 </TD><TD>Exif version number. Stored as 4bytes of ASCII character. If the picture is based on Exif V2.1, value is "0210". Since the type is 'undefined', there is no NULL(0x00) for termination.</TD></TR>
<TR><TD> 0x9003</TD><TD>DateTimeOriginal </TD><TD> ascii string</TD><TD>20 </TD><TD>Date/Time of original image taken. This value should not be modified by user program. Data format is "YYYY:MM:DD HH:MM:SS"+0x00, total 20bytes. If clock has not set or digicam doesn't have clock, the field may be filled with spaces. In the Exif standard, this tag is optional, but it is mandatory for DCF.</TD></TR>
<TR><TD> 0x9004</TD><TD>DateTimeDigitized </TD><TD> ascii string</TD><TD>20 </TD><TD>Date/Time of image digitized. Usually, it contains the same value of DateTimeOriginal(0x9003). Data format is "YYYY:MM:DD HH:MM:SS"+0x00, total 20bytes. If clock has not set or digicam doesn't have clock, the field may be filled with spaces. In the Exif standard, this tag is optional, but it is mandatory for DCF.</TD></TR>
<TR><TD> 0x9101</TD><TD>ComponentsConfiguration </TD><TD> undefined</TD><TD><BR> </TD><TD>Shows the order of pixel data. Most of case '0x04,0x05,0x06,0x00' is used for RGB-format and '0x01,0x02,0x03,0x00' for YCbCr-format. 0x00:does not exist, 0x01:Y, 0x02:Cb, 0x03:Cr, 0x04:Red, 0x05:Green, 0x06:Bllue.</TD></TR>
<TR><TD> 0x9102</TD><TD>CompressedBitsPerPixel </TD><TD> unsigned rational</TD><TD>1 </TD><TD>The average compression ratio of JPEG (rough estimate).</TD></TR>
<TR><TD> 0x9201</TD><TD>ShutterSpeedValue </TD><TD> signed rational</TD><TD>1 </TD><TD>Shutter speed by APEX value. To convert this value to ordinary 'Shutter Speed'; calculate this value's power of 2, then reciprocal. For example, if the ShutterSpeedValue is '4', shutter speed is 1/(2<SUP><FONT SIZE="-1">4</FONT></SUP>)=1/16 second.</TD></TR>
<TR><TD> 0x9202</TD><TD>ApertureValue </TD><TD> unsigned rational</TD><TD>1 </TD><TD>The actual aperture value of lens when the image was taken. Unit is APEX. To convert this value to ordinary F-number(F-stop), calculate this value's power of root 2 (=1.4142). For example, if the ApertureValue is '5', F-number is 1.4142<SUP><FONT SIZE="-1">5</FONT></SUP> = F5.6.</TD></TR>
<TR><TD> 0x9203</TD><TD>BrightnessValue </TD><TD> signed rational</TD><TD>1 </TD><TD>
Brightness of taken subject, unit is APEX. To calculate Exposure(Ev) from BrigtnessValue(Bv), you must add SensitivityValue(Sv).<BR>
Ev=Bv+Sv Sv=log<SUB><FONT SIZE="-1">2</FONT></SUB>(ISOSpeedRating/3.125)<BR>
ISO100:Sv=5, ISO200:Sv=6, ISO400:Sv=7, ISO125:Sv=5.32.
</TD></TR>
<TR><TD> 0x9204</TD><TD>ExposureBiasValue </TD><TD> signed rational</TD><TD>1 </TD><TD>Exposure bias(compensation) value of taking picture. Unit is APEX(EV).</TD></TR>
<TR><TD> 0x9205</TD><TD>MaxApertureValue </TD><TD> unsigned rational</TD><TD>1 </TD><TD>Maximum aperture value of lens. You can convert to F-number by calculating power of root 2 (same process of ApertureValue:0x9202).</TD></TR>
<TR><TD> 0x9206</TD><TD>SubjectDistance </TD><TD> signed rational</TD><TD>1 </TD><TD>Distance to focus point, unit is meter.</TD></TR>
<TR><TD> 0x9207</TD><TD>MeteringMode </TD><TD> unsigned short</TD><TD>1 </TD><TD>Exposure metering method. '0' means unknown, '1' average, '2' center weighted average, '3' spot, '4' multi-spot, '5' multi-segment, '6' partial, '255' other.</TD></TR>
<TR><TD> 0x9208</TD><TD>LightSource </TD><TD> unsigned short</TD><TD>1 </TD><TD>Light source, actually this means white balance setting. '0' means unknown, '1' daylight, '2' fluorescent, '3' tungsten, '10' flash, '17' standard light A, '18' standard light B, '19' standard light C, '20' D55, '21' D65, '22' D75, '255' other.</TD></TR>
<TR><TD> 0x9209</TD><TD>Flash </TD><TD> unsigned short</TD><TD>1 </TD><TD>'0' means flash did not fire, '1' flash fired, '5' flash fired but strobe return light not detected, '7' flash fired and strobe return light detected.</TD></TR>
<TR><TD> 0x920a</TD><TD>FocalLength </TD><TD> unsigned rational</TD><TD>1 </TD><TD>Focal length of lens used to take image. Unit is millimeter.</TD></TR>
<TR><TD> 0x927c</TD><TD>MakerNote </TD><TD> undefined</TD><TD><BR> </TD><TD>Maker dependent internal data. Some of maker such as Olympus/Nikon/Sanyo etc. uses IFD format for this area.</TD></TR>
<TR><TD> 0x9286</TD><TD>UserComment </TD><TD> undefined</TD><TD><BR> </TD><TD>
Stores user comment. This tag allows to use two-byte character code or unicode. First 8 bytes describe the character code. 'JIS' is a Japanese character code (known as Kanji).<BR>
'0x41,0x53,0x43,0x49,0x49,0x00,0x00,0x00':ASCII<BR>
'0x4a,0x49,0x53,0x00,0x00,0x00,0x00,0x00':JIS<BR>
'0x55,0x4e,0x49,0x43,0x4f,0x44,0x45,0x00':Unicode<BR>
'0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00':Undefined<BR>
</TD></TR>
<TR><TD> 0x9290</TD><TD>SubsecTime </TD><TD> ascii string</TD><TD><BR> </TD><TD ROWSPAN=3>Some of digicam can take 2~30 pictures per second, but DateTime/DateTimeOriginal/DateTimeDigitized tag can't record the sub-second time. SubsecTime tag is used to record it.<BR>
For example, DateTimeOriginal = "1996:09:01 09:15:30", SubSecTimeOriginal = "130",
Combined original time is "1996:09:01 09:15:30.130" <BR>
</TD></TR>
<TR><TD> 0x9291</TD><TD>SubsecTimeOriginal </TD><TD> ascii string</TD><TD><BR> </TD></TR>
<TR><TD> 0x9292</TD><TD>SubsecTimeDigitized </TD><TD> ascii string</TD><TD><BR> </TD></TR>
<TR><TD> 0xa000</TD><TD>FlashPixVersion </TD><TD> undefined</TD><TD>4 </TD><TD>Stores FlashPix version. If the image data is based on FlashPix formar Ver.1.0, value is "0100". Since the type is 'undefined', there is no NULL(0x00) for termination. </TD></TR>
<TR><TD> 0xa001</TD><TD>ColorSpace </TD><TD> unsigned short</TD><TD>1 </TD><TD>Defines Color Space. DCF image must use sRGB color space so value is always '1'. If the picture uses the other color space, value is '65535':Uncalibrated.</TD></TR>
<TR><TD> 0xa002</TD><TD>ExifImageWidth </TD><TD> unsigned short/long</TD><TD>1 </TD><TD ROWSPAN=2>Size of main image.</TD></TR>
<TR><TD> 0xa003</TD><TD>ExifImageHeight </TD><TD> unsigned short/long</TD><TD>1 </TD></TR>
<TR><TD> 0xa004</TD><TD>RelatedSoundFile </TD><TD> ascii string</TD><TD><BR> </TD><TD>If this digicam can record audio data with image, shows name of audio data.</TD></TR>
<TR><TD> 0xa005</TD><TD>ExifInteroperabilityOffset </TD><TD> unsigned long</TD><TD>1 </TD><TD>Extension of "ExifR98", detail is unknown. This value is offset to IFD format data. Currently there are 2 directory entries, first one is Tag0x0001, value is "R98", next is Tag0x0002, value is "0100".</TD></TR>
<TR><TD> 0xa20e</TD><TD>FocalPlaneXResolution </TD><TD> unsigned rational</TD><TD>1 </TD><TD ROWSPAN=2>Pixel density at CCD's position. If you have MegaPixel digicam and take a picture by lower resolution(e.g.VGA mode), this value is re-sampled by picture resolution. In such case, FocalPlaneResolution is not same as CCD's actual resolution.</TD></TR>
<TR><TD> 0xa20f</TD><TD>FocalPlaneYResolution </TD><TD> unsigned rational</TD><TD>1 </TD></TR>
<TR><TD> 0xa210</TD><TD>FocalPlaneResolutionUnit </TD><TD> unsigned short</TD><TD>1 </TD><TD>Unit of FocalPlaneXResoluton/FocalPlaneYResolution. '1' means no-unit, '2' inch, '3' centimeter. <BR>
<BR>
Note:Some of Fujifilm's digicam(e.g.FX2700,FX2900,Finepix4700Z/40i etc) uses value '3' so it must be 'centimeter', but it seems that they use a '8.3mm?'(1/3in.?) to their ResolutionUnit. Fuji's BUG? Finepix4900Z has been changed to use value '2' but it doesn't match to actual value also.</TD></TR>
<TR><TD> 0xa215</TD><TD>ExposureIndex </TD><TD> unsigned rational</TD><TD>1 </TD><TD>Same as ISOSpeedRatings(0x8827) but data type is unsigned rational. Only Kodak's digicam uses this tag instead of ISOSpeedRating, I don't know why(historical reason?).
</TD></TR>
<TR><TD> 0xa217</TD><TD>SensingMethod </TD><TD> unsigned short</TD><TD>1 </TD><TD>Shows type of image sensor unit. '2' means 1 chip color area sensor, most of all digicam use this type.</TD></TR>
<TR><TD> 0xa300</TD><TD>FileSource </TD><TD> undefined</TD><TD>1 </TD><TD>Indicates the image source. Value '0x03' means the image source is digital still camera.</TD></TR>
<TR><TD> 0xa301</TD><TD>SceneType </TD><TD> undefined</TD><TD>1 </TD><TD>Indicates the type of scene. Value '0x01' means that the image was directly photographed.</TD></TR>
<TR><TD> 0xa302</TD><TD>CFAPattern </TD><TD> undefined</TD><TD><BR> </TD><TD>
Indicates the Color filter array(CFA) geometric pattern.<BR>
<TABLE BORDER=1>
<TR><TD>Length</TD><TD>Type</TD><TD>Meaning</TD></TR>
<TR><TD>2</TD><TD>short</TD><TD>Horizontal repeat pixel unit = n</TD></TR>
<TR><TD>2</TD><TD>short</TD><TD>Vertical repeat pixel unit = m</TD></TR>
<TR><TD>1</TD><TD>byte</TD><TD>CFA value[0,0]</TD></TR>
<TR><TD><CENTER>:</CENTER></TD><TD><CENTER>:</CENTER></TD><TD><CENTER>:</CENTER></TD></TR>
<TR><TD>1</TD><TD>byte</TD><TD>CFA value[n-1,0]</TD></TR>
<TR><TD>1</TD><TD>byte</TD><TD>CFA value[0,1]</TD></TR>
<TR><TD><CENTER>:</CENTER></TD><TD><CENTER>:</CENTER></TD><TD><CENTER>:</CENTER></TD></TR>
<TR><TD>1</TD><TD>byte</TD><TD>CFA value[n-1,m-1]</TD></TR>
</TABLE>
<BR>
The relation of filter color to CFA value is shown below.<BR>
<TABLE BORDER=1>
<TR><TD>Filter Color</TD><TD>Red</TD><TD>Green</TD><TD>Blue</TD><TD>Cyan</TD><TD>Magenta</TD><TD>Yellow</TD><TD>White</TD></TR>
<TR><TD>CFA value</TD><TD>0</TD><TD>1</TD><TD>2</TD><TD>3</TD><TD>4</TD><TD>5</TD><TD>6</TD></TR>
</TABLE>
<BR>
<TABLE BORDER=1 align="left">
<TR><TD>R</TD><TD>G</TD></TR>
<TR><TD>G</TD><TD>B</TD></TR>
</TABLE>
For example, ordinary RGB filter uses the repetition of left chart, the value is '0x0002,0x0002,0x00,0x01,0x01,0x02'.
<BR>
</TD></TR>
</TABLE>
<BR>
<BR>
<A NAME="InterTags"><BR></A>
<TABLE BORDER=1>
<TR><TD COLSPAN=5><CENTER><FONT SIZE="+1"><B>Tags used by Interoperability IFD</B></FONT></CENTER></TD></TR>
<TR><TD>Tag No.</TD><TD>Tag Name</TD><TD>Format</TD><TD>CompoNo</TD><TD>Desc.</TD></TR>
<TR><TD> 0x0001</TD><TD> InteroperabilityIndex </TD><TD> Ascii string </TD><TD>4 </TD><TD>If this IFD is main image's IFD and the file content is equivalent to ExifR98 v1.0, the value is "R98". If thumbnail image's, value is "THM".</TD></TR>
<TR><TD> 0x0002</TD><TD> InteroperabilityVersion </TD><TD> Undefined </TD><TD>4 </TD><TD>Records the interoperability version. "0100" means version 1.00.</TD></TR>
<TR><TD> 0x1000</TD><TD> RelatedImageFileFormat </TD><TD> Ascii string </TD><TD>any </TD><TD>Records the file format of image file. Value is ascii string (e.g. "Exif JPEG Ver. 2.1").</TD></TR>
<TR><TD> 0x1001</TD><TD> RelatedImageWidth </TD><TD> Short or Long </TD><TD>1 </TD><TD ROWSPAN=2>Records the image size.</TD></TR>
<TR><TD> 0x1001</TD><TD> RelatedImageLength </TD><TD> Short or Long </TD><TD>1 </TD></TR>
</TABLE>
<BR>
<BR>
<A NAME="IFD1Tags"><BR></A>
<TABLE BORDER=1>
<TR><TD COLSPAN=5><CENTER><FONT SIZE="+1"><B>Tags used by IFD1 (thumbnail image)</B></FONT></CENTER></TD></TR>
<TR><TD>Tag No.</TD><TD>Tag Name</TD><TD>Format</TD><TD>CompoNo</TD><TD>Desc.</TD></TR>
<TR><TD> 0x0100</TD><TD>ImageWidth </TD><TD> unsigned short/long</TD><TD>1 </TD><TD ROWSPAN=2>Shows size of thumbnail image.</TD></TR>
<TR><TD> 0x0101</TD><TD>ImageLength </TD><TD> unsigned short/long</TD><TD>1 </TD>
<TR><TD> 0x0102</TD><TD>BitsPerSample </TD><TD> unsigned short</TD><TD>3 </TD><TD>When image format is no compression, this value shows the number of bits per component for each pixel. Usually this value is '8,8,8'</TD></TR>
<TR><TD> 0x0103</TD><TD>Compression </TD><TD> unsigned short</TD><TD>1 </TD><TD>Shows compression method. '1' means no compression, '6' means JPEG compression.</TD></TR>
<TR><TD> 0x0106</TD><TD>PhotometricInterpretation </TD><TD> unsigned short</TD><TD>1 </TD><TD>Shows the color space of the image data components. '1' means monochrome, '2' means RGB, '6' means YCbCr.</TD></TR>
<TR><TD> 0x0111</TD><TD>StripOffsets </TD><TD> unsigned short/long</TD><TD><BR> </TD><TD>When image format is no compression, this value shows offset to image data. In some case image data is striped and this value is plural.</TD></TR>
<TR><TD> 0x0115</TD><TD>SamplesPerPixel </TD><TD> unsigned short</TD><TD>1 </TD><TD>When image format is no compression, this value shows the number of components stored for each pixel. At color image, this value is '3'.</TD></TR>
<TR><TD> 0x0116</TD><TD>RowsPerStrip </TD><TD> unsigned short/long</TD><TD>1 </TD><TD>When image format is no compression and image has stored as strip, this value shows how many rows stored to each strip. If image has not striped, this value is the same as ImageLength(0x0101).</TD></TR>
<TR><TD> 0x0117</TD><TD>StripByteConunts </TD><TD> unsigned short/long</TD><TD><BR> </TD><TD>When image format is no compression and stored as strip, this value shows how many bytes used for each strip and this value is plural. If image has not stripped, this value is single and means whole data size of image.</TD></TR>
<TR><TD> 0x011a</TD><TD>XResolution </TD><TD> unsigned rational</TD><TD>1 </TD><TD ROWSPAN=2>Display/Print resolution of image. Large number of digicam uses 1/72inch, but it has no mean because personal computer doesn't use this value to display/print out.</TD></TR>
<TR><TD> 0x011b</TD><TD>YResolution </TD><TD> unsigned rational</TD><TD>1 </TD></TR>
<TR><TD> 0x011c</TD><TD>PlanarConfiguration </TD><TD> unsigned short</TD><TD>1 </TD><TD>When image format is no compression YCbCr, this value shows byte aligns of YCbCr data. If value is '1', Y/Cb/Cr value is chunky format, contiguous for each subsampling pixel. If value is '2', Y/Cb/Cr value is separated and stored to Y plane/Cb plane/Cr plane format.</TD></TR>
<TR><TD> 0x0128</TD><TD>ResolutionUnit </TD><TD> unsigned short</TD><TD>1 </TD><TD>Unit of XResolution(0x011a)/YResolution(0x011b). '1' means inch, '2' means centimeter.</TD></TR>
<TR><TD> 0x0201</TD><TD>JpegIFOffset </TD><TD> unsigned long</TD><TD>1 </TD><TD>When image format is JPEG, this value show offset to JPEG data stored.</TD></TR>
<TR><TD> 0x0202</TD><TD>JpegIFByteCount </TD><TD> unsigned long</TD><TD>1 </TD><TD>When image format is JPEG, this value shows data size of JPEG image.</TD></TR>
<TR><TD> 0x0211</TD><TD>YCbCrCoefficients </TD><TD> unsigned rational</TD><TD>3 </TD><TD>When image format is YCbCr, this value shows constants to translate it to RGB format. In usual, '0.299/0.587/0.114' are used.</TD></TR>
<TR><TD> 0x0212</TD><TD>YCbCrSubSampling </TD><TD> unsigned short</TD><TD>2 </TD><TD>When image format is YCbCr and uses subsampling(cropping of chroma data, all the digicam do that), this value shows how many chroma data subsampled. First value shows horizontal, next value shows vertical subsample rate.</TD></TR>
<TR><TD> 0x0213</TD><TD>YCbCrPositioning </TD><TD> unsigned short</TD><TD>1 </TD><TD>When image format is YCbCr and uses 'Subsampling'(cropping of chroma data, all the digicam do that), this value defines the chroma sample point of subsampled pixel array. '1' means the center of pixel array, '2' means the datum point(0,0).</TD></TR>
<TR><TD> 0x0214</TD><TD>ReferenceBlackWhite </TD><TD> unsigned rational</TD><TD>6 </TD><TD>Shows reference value of black point/white point. In case of YCbCr format, first 2 show black/white of Y, next 2 are Cb, last 2 are Cr. In case of RGB format, first 2 show black/white of R, next 2 are G, last 2 are B.</TD></TR>
</TABLE>
<BR>
<A NAME="MiscTags"><BR></A>
<TABLE BORDER=1>
<TR><TD COLSPAN=5><CENTER><FONT SIZE="+1"><B>Misc Tags</B></FONT></CENTER></TD></TR>
<TR><TD>Tag No.</TD><TD>Tag Name</TD><TD>Format</TD><TD>CompoNo</TD><TD>Desc.</TD></TR>
<TR><TD> 0x00fe</TD><TD>NewSubfileType </TD><TD> unsigned long</TD><TD>1 </TD><TD><BR></TD></TR>
<TR><TD> 0x00ff</TD><TD>SubfileType </TD><TD> unsigned short</TD><TD>1 </TD><TD><BR></TD></TR>
<TR><TD> 0x012d</TD><TD>TransferFunction </TD><TD> unsigned short</TD><TD>3 </TD><TD><BR></TD></TR>
<TR><TD> 0x013b</TD><TD>Artist </TD><TD> ascii string</TD><TD><BR> </TD><TD><BR></TD></TR>
<TR><TD> 0x013d</TD><TD>Predictor </TD><TD> unsigned short</TD><TD>1 </TD><TD><BR></TD></TR>
<TR><TD> 0x0142</TD><TD>TileWidth </TD><TD> unsigned short</TD><TD>1 </TD><TD><BR></TD></TR>
<TR><TD> 0x0143</TD><TD>TileLength </TD><TD> unsigned short</TD><TD>1 </TD><TD><BR></TD></TR>
<TR><TD> 0x0144</TD><TD>TileOffsets </TD><TD> unsigned long</TD><TD><BR> </TD><TD><BR></TD></TR>
<TR><TD> 0x0145</TD><TD>TileByteCounts </TD><TD> unsigned short</TD><TD><BR> </TD><TD><BR></TD></TR>
<TR><TD> 0x014a</TD><TD>SubIFDs </TD><TD> unsigned long</TD><TD><BR> </TD><TD><BR></TD></TR>
<TR><TD> 0x015b</TD><TD>JPEGTables </TD><TD> undefined</TD><TD><BR> </TD><TD><BR></TD></TR>
<TR><TD> 0x828d</TD><TD>CFARepeatPatternDim </TD><TD> unsigned short</TD><TD>2 </TD><TD><BR></TD></TR>
<TR><TD> 0x828e</TD><TD>CFAPattern </TD><TD> unsigned byte</TD><TD><BR> </TD><TD><BR></TD></TR>
<TR><TD> 0x828f</TD><TD>BatteryLevel </TD><TD> unsigned rational</TD><TD>1 </TD><TD><BR></TD></TR>
<TR><TD> 0x83bb</TD><TD>IPTC/NAA </TD><TD> unsigned long</TD><TD><BR> </TD><TD><BR></TD></TR>
<TR><TD> 0x8773</TD><TD>InterColorProfile </TD><TD> undefined</TD><TD><BR> </TD><TD><BR></TD></TR>
<TR><TD> 0x8824</TD><TD>SpectralSensitivity </TD><TD> ascii string</TD><TD><BR> </TD><TD><BR></TD></TR>
<TR><TD> 0x8825</TD><TD>GPSInfo </TD><TD> unsigned long</TD><TD>1 </TD><TD><BR></TD></TR>
<TR><TD> 0x8828</TD><TD>OECF </TD><TD> undefined</TD><TD><BR> </TD><TD><BR></TD></TR>
<TR><TD> 0x8829</TD><TD>Interlace </TD><TD> unsigned short</TD><TD>1 </TD><TD><BR></TD></TR>
<TR><TD> 0x882a</TD><TD>TimeZoneOffset </TD><TD> signed short</TD><TD>1 </TD><TD><BR></TD></TR>
<TR><TD> 0x882b</TD><TD>SelfTimerMode </TD><TD> unsigned short</TD><TD>1 </TD><TD><BR></TD></TR>
<TR><TD> 0x920b</TD><TD>FlashEnergy </TD><TD> unsigned rational</TD><TD>1 </TD><TD><BR></TD></TR>
<TR><TD> 0x920c</TD><TD>SpatialFrequencyResponse </TD><TD> undefined</TD><TD><BR> </TD><TD><BR></TD></TR>
<TR><TD> 0x920d</TD><TD>Noise </TD><TD> undefined</TD><TD><BR> </TD><TD><BR></TD></TR>
<TR><TD> 0x9211</TD><TD>ImageNumber </TD><TD> unsigned long</TD><TD>1 </TD><TD><BR></TD></TR>
<TR><TD> 0x9212</TD><TD>SecurityClassification </TD><TD> ascii string</TD><TD>1 </TD><TD><BR></TD></TR>
<TR><TD> 0x9213</TD><TD>ImageHistory </TD><TD> ascii string</TD><TD><BR> </TD><TD><BR></TD></TR>
<TR><TD> 0x9214</TD><TD>SubjectLocation </TD><TD> unsigned short</TD><TD>4 </TD><TD><BR></TD></TR>
<TR><TD> 0x9215</TD><TD>ExposureIndex </TD><TD> unsigned rational</TD><TD>1 </TD><TD><BR></TD></TR>
<TR><TD> 0x9216</TD><TD>TIFF/EPStandardID </TD><TD> unsigned byte</TD><TD>4 </TD><TD><BR></TD></TR>
<TR><TD> 0xa20b</TD><TD>FlashEnergy </TD><TD> unsigned rational</TD><TD>1 </TD><TD><BR></TD></TR>
<TR><TD> 0xa20c</TD><TD>SpatialFrequencyResponse </TD><TD> unsigned short</TD><TD>1 </TD><TD><BR></TD></TR>
<TR><TD> 0xa214</TD><TD>SubjectLocation </TD><TD> unsigned short</TD><TD>1 </TD><TD><BR></TD></TR>
</TABLE>
<BR>
<HR>
<BR>
<H2><A NAME="APP1">Appendix 1: MakerNote of Olympus Digicams</A></H2>
The data below is analyzed at Olympus D450Z(C-920Z) by Peter Esherick.<BR>
<BR>
MakerNote of Olympus Digicam starts from ASCII string "OLYMP". Data format is the same as IFD, but it starts from offset 0x07. Example of actual data structure is shown below.
<PRE>
:0000: 4F 4C 59 4D 50 00 01 00-0B 00 00 02 04 00 03 00 OLYMP...........
:0010: 00 00 0E 04 00 00 01 02-03 00 01 00 00 00 03 00 ................
</PRE>
<BR>
<TABLE BORDER=1>
<TR>
<TD>Tag No.</TD><TD>Tag Name</TD><TD>Format</TD><TD>CompoNo</TD><TD>Value</TD>
</TR>
<TR>
<TD>0x0200</TD><TD>SpecialMode</TD><TD>Unsigned Long</TD><TD>3</TD><TD>Shows picture taking mode. First value means 0=normal, 1=unknown, 2=fast, 3=panorama. Second value means sequence number, third value means panorama direction, 1=left to right, 2=right to left, 3=bottom to top, 4=top to bottom.</TD>
</TR>
<TR>
<TD>0x0201</TD><TD>JpegQual</TD><TD>Unsigned Short</TD><TD>1</TD><TD>Shows JPEG quality. 1=SQ,2=HQ,3=SHQ.</TD>
</TR>
<TR>
<TD>0x0202</TD><TD>Macro</TD><TD>Unsigned Short</TD><TD>1</TD><TD>Shows Macro mode or not. 0=normal, 1=macro.</TD>
</TR>
<TR>
<TD>0x0203</TD><TD>Unknown</TD><TD>Unsigned Short</TD><TD>1</TD><TD>Unknown</TD>
</TR>
<TR>
<TD>0x0204</TD><TD>DigiZoom</TD><TD>Unsigned Rational</TD><TD>1</TD><TD>Shows Digital Zoom ratio. 0=normal, 2=digital 2x zoom.</TD>
</TR>
<TR>
<TD>0x0205</TD><TD>Unknown</TD><TD>Unsigned Rational</TD><TD>1</TD><TD>Unknown</TD>
</TR>
<TR>
<TD>0x0206</TD><TD>Unknown</TD><TD>Signed Short</TD><TD>6</TD><TD>Unknown</TD>
</TR>
<TR>
<TD>0x0207</TD><TD>SoftwareRelease</TD><TD>Ascii string</TD><TD>5</TD><TD>Shows Firmware version.</TD>
</TR>
<TR>
<TD>0x0208</TD><TD>PictInfo</TD><TD>Ascii string</TD><TD>52</TD><TD>Contains ASCII format data such as [PictureInfo]. This is the same data format of older Olympus digicam that not used Exif data format (C1400/C820/D620/D340 etc).</TD>
</TR>
<TR>
<TD>0x0209</TD><TD>CameraID</TD><TD>Undefined</TD><TD>32</TD><TD>Contains CameraID data, which is user changeable by some utilities</TD>
<TR>
<TD>0x0f00</TD><TD>DataDump</TD><TD>Unsigned Long</TD><TD>30</TD><TD>Unknown</TD>
</TR>
</TABLE>
<BR>
<HR>
<H2><A NAME="APP2">Appendix 2: MakerNote of Nikon</A></H2>
There are 2 formats of Nikon's MakerNote. MakerNote of E700/E800/E900/E900S/E910/E950 starts from ASCII string "Nikon". Data format is the same as IFD, but it starts from offset 0x08. This is the same as Olympus except start string. Example of actual data structure is shown below.
<PRE>
:0000: 4E 69 6B 6F 6E 00 01 00-05 00 02 00 02 00 06 00 Nikon...........
:0010: 00 00 EC 02 00 00 03 00-03 00 01 00 00 00 06 00 ................
</PRE>
<BR>
<TABLE BORDER=1>
<TR>
<TD>Tag No.</TD><TD>Tag Name</TD><TD>Format</TD><TD>CompoNo</TD><TD>Value</TD>
</TR>
<TR>
<TD>0x0002</TD><TD>Unknown</TD><TD>Ascii string</TD><TD>6</TD><TD>Unknown. E900/E900S/E910:"09.41", others:"08.00".</TD>
</TR>
<TR>
<TD>0x0003</TD><TD>Quality</TD><TD>Unsigned short</TD><TD>1</TD><TD>Shows quality setting. At E900, 1:VGA Basic, 2:VGA Normal, 3:VGA Fine, 4:SXGA Basic, 5:SXGA Normal, 6:SXGA Fine</TD>
</TR>
<TR>
<TD>0x0004</TD><TD>Color Mode</TD><TD>Unsigned short</TD><TD>1</TD><TD>1:Color, 2:Monochrome.</TD>
</TR>
<TR>
<TD>0x0005</TD><TD>Image Adjustment</TD><TD>Unsigned short</TD><TD>1</TD><TD>0:Normal, 1:Bright+, 2:Bright-, 3:Contrast+, 4:Contrast-.</TD>
</TR>
<TR>
<TD>0x0006</TD><TD>CCD Sensitivity</TD><TD>Unsigned short</TD><TD>1</TD><TD>0:ISO80, 2:ISO160, 4:ISO320, 5:ISO100</TD>
</TR>
<TR>
<TD>0x0007</TD><TD>White balance</TD><TD>Unsigned short</TD><TD>1</TD><TD>0:Auto, 1:Preset, 2:Daylight, 3:Incandescense, 4:Fluorescence, 5:Cloudy, 6:SpeedLight</TD>
</TR>
<TR>
<TD>0x0008</TD><TD>Focus</TD><TD>Unsigned rational</TD><TD>1</TD><TD>If infinite focus, value is '1/0'.</TD>
</TR>
<TR>
<TD>0x0009</TD><TD>Unknown</TD><TD>Ascii string</TD><TD>20</TD><TD>Unknown</TD>
</TR>
<TR>
<TD>0x000a</TD><TD>Digital Zoom</TD><TD>Unsigned rational</TD><TD>1</TD><TD>'160/100' means 1.6x digital zoom, '0/100' means no digital zoom (optical zoom only).</TD>
</TR>
<TR>
<TD>0x000b</TD><TD>Converter</TD><TD>Unsigned short</TD><TD>1</TD><TD>If Fisheye Converter is used, value is '1'.</TD>
</TR>
<TR>
<TD>0x0f00</TD><TD>Unknown</TD><TD>Unsigned long</TD><TD>25~30</TD><TD>Unknown</TD>
</TR>
</TABLE>
<BR>
<BR>
At E990, there is no Ascii string. As like the usual IFD (e.g. IFD0, SubIFD), IFD starts from the first byte of data. Nikon D1 also uses this format. Example of actual data structure is shown below.
<PRE>
:0000: 10 00 01 00 07 00 04 00-00 00 00 01 00 00 02 00 ................
:0010: 03 00 02 00 00 00 00 00-64 00 03 00 02 00 06 00 ........d.......
</PRE>
<BR>
The data below is analyzed by<A HREF="mailto:maxlyons@erols.com"> Max Lyons </A>.<BR>
<BR>
<TABLE BORDER=1>
<TR>
<TD>Tag No.</TD><TD>Tag Name</TD><TD>Format</TD><TD>CompoNo</TD><TD>Value</TD>
</TR>
<TR>
<TD>0x0001</TD><TD>Unknown</TD><TD>Undefined</TD><TD>4</TD><TD>Unknown. Always "0100". version?</TD>
</TR>
<TR>
<TD>0x0002</TD><TD>ISO Setting</TD><TD>Unsigned short</TD><TD>2</TD><TD>0,100=ISO 100<BR>0,200=ISO200<BR>0,400=ISO400<BR>etc.</TD>
</TR>
<TR>
<TD>0x0003</TD><TD>Color Mode</TD><TD>Ascii string</TD><TD>varies</TD><TD>"COLOR", "B&W"</TD>
</TR>
<TR>
<TD>0x0004</TD><TD>Quality</TD><TD>Ascii string</TD><TD>varies</TD><TD>"NORMAL", "FINE", "BASIC"</TD>
</TR>
<TR>
<TD>0x0005</TD><TD>Whitebalance</TD><TD>Ascii string</TD><TD>varies</TD><TD>"AUTO", "WHITE PRESET" etc.</TD>
</TR>
<TR>
<TD>0x0006</TD><TD>Image Sharpening</TD><TD>Ascii string</TD><TD>varies</TD><TD>"AUTO", "HIGH" etc.</TD>
</TR>
<TR>
<TD>0x0007</TD><TD>Focus Mode</TD><TD>Ascii string</TD><TD>varies</TD><TD>"AF-S" means Single AF, "AF-C" means Continuous AF.</TD>
</TR>
<TR>
<TD>0x0008</TD><TD>Flash Setting</TD><TD>Ascii string</TD><TD>varies</TD><TD>"NORMAL", "RED-EYE" etc.</TD>
</TR>
<TR>
<TD>0x000a</TD><TD>Unknown</TD><TD>Unsigned rational</TD><TD>1</TD><TD>Unknown, Always '8832/1000'?</TD>
</TR>
<TR>
<TD>0x000f</TD><TD>ISO Selection</TD><TD>Ascii string</TD><TD>varies</TD><TD>"MANUAL":User selected, "AUTO":Automatically selected.</TD>
<TR>
<TD>0x0080</TD><TD>Image Adjustment</TD><TD>Ascii string</TD><TD>varies</TD><TD>"AUTO", "NORMAL", "CONTRAST(+)" etc.</TD>
</TR>
<TR>
<TD>0x0082</TD><TD>Adapter</TD><TD>Ascii string</TD><TD>varies</TD><TD>"OFF", "FISHEYE 2", "WIDE ADAPTER" etc.</TD>
</TR>
<TR>
<TD>0x0085</TD><TD>Manual Focus Distance</TD><TD>Unsigned rational</TD><TD>1</TD><TD>Distance in Meters if focus was manually selected, otherwise 0</TD>
</TR>
<TR>
<TD>0x0086</TD><TD>Digital Zoom</TD><TD>Unsigned rational</TD><TD>1</TD><TD>'100/100' means no digital zoom (optical zoom only), '140/100' means 1.4x digital zoom.</TD>
</TR>
<TR>
<TD>0x0088</TD><TD>AF Focus Position</TD><TD>Undefined</TD><TD>4</TD><TD>'0,0,0,0':Center, '0,1,0,0':Top, '0,2,0,0':Bottom, '0,3,0,0':Left, '0,4,0,0':right</TD>
</TR>
<TR>
<TD>0x0010</TD><TD>Data Dump</TD><TD>Undefined</TD><TD>174</TD><TD>Unknown.</TD>
</TR>
</TABLE>
<BR>
<HR>
<H2><A NAME="APP3">Appendix 3: MakerNote of Casio</A></H2>
<BR>
Casio started to use Exif format from QV2000/QV8000. Casio's MakerNote format is the same as usual IFD (e.g. IFD0, SubIFD0). Example of actual data structure is shown below.
<PRE>
:0000: 00 14 00 01 00 03 00 00-00 01 00 0A 00 00 00 02 ................
:0010: 00 03 00 00 00 01 00 03-00 00 00 03 00 03 00 00 ................
</PRE>
The data below is analyzed by<A HREF="mailto:eckhard.henkel@t-online.de"> Eckhard Henkel </A>.<BR>
<BR>
<TABLE BORDER=1>
<TR>
<TD>Tag No.</TD><TD>Tag Name</TD><TD>Format</TD><TD>CompoNo</TD><TD>Value</TD>
</TR>
<TR><TD>0x0001</TD><TD>RecordingMode</TD><TD>Unsigned Short</TD><TD>1</TD><TD>1:Single Shutter, 2:Panorama, 3:Night Scene, 4:Portrait, 5:Landscape</TD></TR>
<TR><TD>0x0002</TD><TD>Quality</TD><TD>Unsigned Short</TD><TD>1</TD><TD>1:Economy, 2:Normal, 3:Fine</TD></TR>
<TR><TD>0x0003</TD><TD>Focusing Mode</TD><TD>Unsigned Short</TD><TD>1</TD><TD>2:Macro, 3:Auto Focus, 4:Manual Focus, 5:Infinity</TD></TR>
<TR><TD>0x0004</TD><TD>Flash Mode</TD><TD>Unsigned Short</TD><TD>1</TD><TD>1:Auto, 2:On, 3:Off, 4:Red Eye Reduction</TD></TR>
<TR><TD>0x0005</TD><TD>Flash Intensity</TD><TD>Unsigned Short</TD><TD>1</TD><TD>11:Weak, 13:Normal, 15:Strong</TD></TR>
<TR><TD>0x0006</TD><TD>Object distance</TD><TD>Unsigned Long</TD><TD>1</TD><TD>Object distance in [mm]</TD></TR>
<TR><TD>0x0007</TD><TD>White Balance</TD><TD>Unsigned Short</TD><TD>1</TD><TD>1:Auto, 2:Tungsten, 3:Daylight, 4:Fluorescent, 5:Shade, 129:Manual</TD></TR>
<TR><TD>0x0008</TD><TD>Unknown</TD><TD>Unsigned short</TD><TD>1</TD><TD>Unknown</TD></TR>
<TR><TD>0x0009</TD><TD>Unknown</TD><TD>Unsigned short</TD><TD>1</TD><TD>Unknown</TD></TR>
<TR><TD>0x000a</TD><TD>Digital Zoom</TD><TD>Unsigned Long</TD><TD>1</TD><TD>0x10000(65536):'Off', 0x10001(65537):'2X Digital Zoom'</TD></TR>
<TR><TD>0x000b</TD><TD>Sharpness</TD><TD>Unsigned Short</TD><TD>1</TD><TD>0:Normal, 1:Soft, 2:Hard</TD></TR>
<TR><TD>0x000c</TD><TD>Contrast</TD><TD>Unsigned Short</TD><TD>1</TD><TD>0:Normal, 1:Low, 2:High</TD></TR>
<TR><TD>0x000d</TD><TD>Saturation</TD><TD>Unsigned Short</TD><TD>1</TD><TD>0:Normal, 1:Low, 2:High</TD></TR>
<TR><TD>0x000e</TD><TD>Unknown</TD><TD>Unsigned short</TD><TD>1</TD><TD>Unknown</TD></TR>
<TR><TD>0x000f</TD><TD>Unknown</TD><TD>Unsigned short</TD><TD>1</TD><TD>Unknown</TD></TR>
<TR><TD>0x0010</TD><TD>Unknown</TD><TD>Unsigned short</TD><TD>1</TD><TD>Unknown</TD></TR>
<TR><TD>0x0011</TD><TD>Unknown</TD><TD>Unsigned long</TD><TD>1</TD><TD>Unknown</TD></TR>
<TR><TD>0x0012</TD><TD>Unknown</TD><TD>Unsigned short</TD><TD>1</TD><TD>Unknown</TD></TR>
<TR><TD>0x0013</TD><TD>Unknown</TD><TD>Unsigned short</TD><TD>1</TD><TD>Unknown</TD></TR>
<TR><TD>0x0014</TD><TD>CCD Sensitivity</TD><TD>Unsigned short</TD><TD>1</TD><TD>QV3000: 64:Normal, 125:+1.0, 250:+2.0, 244:+3.0<BR>
QV8000/2000: 80:Normal, 100:High</TD></TR>
</TABLE>
<BR>
<HR>
<H2><A NAME="APP4">Appendix 4: MakerNote of Fujifilm</A></H2>
<BR>
Fujifilm's digicam added the MakerNote tag from the Year2000's model (e.g.Finepix1400,Finepix4700). It uses IFD format and start from ASCII character 'FUJIFILM', and next 4 bytes(value 0x000c) points the offset to first IFD entry. Example of actual data structure is shown below.<BR>
<PRE>
:0000: 46 55 4A 49 46 49 4C 4D-0C 00 00 00 0F 00 00 00 :0000: FUJIFILM........
:0010: 07 00 04 00 00 00 30 31-33 30 00 10 02 00 08 00 :0010: ......0130......
</PRE>
<BR>
There are two big differences to the other manufacturers.<BR>
<UL>
<LI>Fujifilm's Exif data uses Motorola align, but MakerNote ignores it and uses Intel align.
<LI>The other manufacturer's MakerNote counts the "offset to data" from the first byte of TIFF header (same as the other IFD), but Fujifilm counts it from the first byte of MakerNote itself.
</UL>
I think it's a BUG, but it can't be helped now... The data below is analyzed at Fujifilm FinePix4900Z.<BR>
<BR>
<BR>
<TABLE BORDER=1>
<TR>
<TD>Tag No.</TD><TD>Tag Name</TD><TD>Format</TD><TD>CompoNo</TD><TD>Value</TD>
</TR>
<TR><TD>0x0000</TD><TD>Version</TD><TD>Undefined</TD><TD>4</TD><TD>Version of MakerNote information. At present, value is "0130".</TD></TR>
<TR><TD>0x1000</TD><TD>Quality</TD><TD>Ascii string</TD><TD>8</TD><TD>Quality setting. Ascii string "BASIC","NORMAL","FINE"</TD></TR>
<TR><TD>0x1001</TD><TD>Sharpness</TD><TD>Unsigned Short</TD><TD>1</TD><TD>Sharpness setting. 1or2:soft, 3:normal, 4or5:hard.</TD></TR>
<TR><TD>0x1002</TD><TD>White Balance</TD><TD>Unsigned Short</TD><TD>1</TD><TD>White balance setting. 0:Auto, 256:Daylight, 512:Cloudy, 768:DaylightColor-fluorescence, 769:DaywhiteColor-fluorescence, 770:White-fluorescence, 1024:Incandenscense, 3840:Custom white balance.</TD></TR>
<TR><TD>0x1003</TD><TD>Color</TD><TD>Unsigned Short</TD><TD>1</TD><TD>Chroma saturation setting. 0:normal(STD), 256:High, 512:Low(ORG).</TD></TR>
<TR><TD>0x1004</TD><TD>Tone</TD><TD>Unsigned Short</TD><TD>1</TD><TD>Contrast setting. 0:normal(STD), 256:High(HARD), 512:Low(ORG).</TD></TR>
<TR><TD>0x1010</TD><TD>Flash Mode</TD><TD>Unsigned Short</TD><TD>1</TD><TD>Flash firing mode setting. 0:Auto, 1:On, 2:Off, 3:Red-eye reduction.</TD></TR>
<TR><TD>0x1011</TD><TD>Flash Strength</TD><TD>Signed Rational</TD><TD>1</TD><TD>Flash firing strength compensation setting. Unit is APEX(EV) and value is -6/10, -3/10, 0/10, 3/10, 6/10 etc.</TD></TR>
<TR><TD>0x1020</TD><TD>Macro</TD><TD>Unsigned Short</TD><TD>1</TD><TD>Macro mode setting. 0:Off, 1:On.</TD></TR>
<TR><TD>0x1021</TD><TD>Focus mode</TD><TD>Unsigned short</TD><TD>1</TD><TD>Focusing mode setting. 0:Auto focus, 1:Manual focus.</TD></TR>
<TR><TD>0x1030</TD><TD>SlowSync.</TD><TD>Unsigned short</TD><TD>1</TD><TD>Slow synchro mode setting. 0:Off, 1:On.</TD></TR>
<TR><TD>0x1031</TD><TD>Picture Mode</TD><TD>Unsigned short</TD><TD>1</TD><TD>Picture mode setting. 0:Auto, 1:Portrait scene, 2:Landscape scene, 4:Sports scene, 5:Night scene, 6:Program AE, 256:Aperture prior AE, 512:Shutter prior AE, 768:Manual exposure.</TD></TR>
<TR><TD>0x1032</TD><TD>unknown</TD><TD>Unsigned Short</TD><TD>1</TD><TD>Unknown</TD></TR>
<TR><TD>0x1100</TD><TD>ContTake/Bracket</TD><TD>Unsigned Short</TD><TD>1</TD><TD>Continuous taking or auto bracketting mode setting. 0:off, 1:on.</TD></TR>
<TR><TD>0x1200</TD><TD>unknown</TD><TD>Unsigned Short</TD><TD>1</TD><TD>Unknown</TD></TR>
<TR><TD>0x1300</TD><TD>Blur warning</TD><TD>Unsigned Short</TD><TD>1</TD><TD>Blur warning status. 0:No blur warning, 1:Blur warning.</TD></TR>
<TR><TD>0x1301</TD><TD>Focus warning</TD><TD>Unsigned short</TD><TD>1</TD><TD>Auto Focus warning status. 0:Auto Focus good, 1:Out of focus.</TD></TR>
<TR><TD>0x1302</TD><TD>AE warning</TD><TD>Unsigned short</TD><TD>1</TD><TD>Auto Exposure warning status. 0:AE good, 1:Over exposure (>1/1000s,F11).</TD></TR>
</TABLE>
<HR>
<H2><A NAME="APP5">Appendix 5: MakerNote of Canon</A></H2>
The data below was primarily analysed by
<A HREF="mailto:db061@burren.cx">David Burren</A> and the master version of this information is available at:
<A HREF="http://www.burren.cx/david/canon.html">http://www.burren.cx/david/canon.html</A>. Please send any updates to <A HREF="mailto:db061@burren.cx">David</A>.
<br>
This document is based on his Rev.1.11(2001/01/30) of document.<br>
<P>
Canon's MakerNote data is in IFD format, starting at offset 0.
</P><P>
Some of these tags and fields are only produced on cameras such as the EOS D30, but (to current observation) all this is valid for all Canon digicams (at least since the A50).
If the tag is not found, or is shorter than shown here, it simply means that data is not supported by that camera.
</P>
<TABLE BORDER="1">
<TR><TH>
Tag No.
</TH><TH>
Tag Name
</TH><TH>
Format
</TH><TH>
CompoNo
</TH><TH>
Value
</TH></TR><TR><TD>
0x0
</TD><TD>
Unknown
</TD><TD>
Unsigned Short
</TD><TD>
6
</TD><TD>
Always 0
</TD></TR><TR><TD>
0x1
</TD><TD>
Unknown
</TD><TD>
Unsigned Short
</TD><TD>
varies
</TD><TD>
<TABLE BORDER="1">
<TR><TH>
Offset within tag
</TH><TH COLSPAN="2">
Meaning
</TH></TR>
<TR><TD>
0
</TD><TD COLSPAN="2">
Length of tag in bytes
(i.e. twice the number of shorts)
</TD></TR><TR><TD>
1
</TD><TD>
Macro mode
</TD><TD>
1: macro<br>
2: normal<br>
</TD></TR><TR><TD>
2
</TD><TD COLSPAN="2">
If non-zero, length of self-timer in 10ths of a second
</TD></TR><TR><TD>
3
</TD><TD COLSPAN="2">
unknown
</TD></TR><TR><TD>
4
</TD><TD>
Flash mode
</TD><TD>
0: flash not fired<br>
1: auto<br>
2: on<br>
3: red-eye reduction<br>
4: slow synchro<br>
5: auto + red-eye reduction<br>
6: on + red-eye reduction<br>
16: external flash (not set on D30)
</TD></TR><TR><TD>
5
</TD><TD>
Continuous drive mode
</TD><TD>
0: single or timer (see field 2)<br>
1: continuous
</TD></TR><TR><TD>
6
</TD><TD COLSPAN="2">
unknown
</TD></TR><TR><TD>
7
</TD><TD>
Focus Mode
</TD><TD>
0: One-Shot<br>
1: AI Servo<br>
2: AI Focus<br>
3: MF<br>
4: Single (but check field 32)<br>
5: Continuous<br>
6: MF
</TD></TR><TR><TD>
8, 9
</TD><TD COLSPAN="2">
unknown
</TD></TR><TR><TD>
10
</TD><TD>
Image size
</TD><TD>
0: large<br>
1: medium<br>
2: small
</TD></TR><TR><TD>
11
</TD><TD>
"Easy shooting" mode
</TD><TD>
0: Full Auto<br>
1: Manual<br>
2: Landscape<br>
3: Fast Shutter<br>
4: Slow Shutter<br>
5: Night<br>
6: B&W<br>
7: Sepia<br>
8: Portrait<br>
9: Sports<br>
10: Macro / Close-Up<br>
11: Pan Focus
</TD></TR><TR><TD>
12
</TD><TD COLSPAN="2">
unknown
</TD></TR><TR><TD>
13
</TD><TD>
Contrast
</TD><TD>
0xffff: low<br>
0x0000: normal<br>
0x0001: high
</TD></TR><TR><TD>
14
</TD><TD>
Saturation
</TD><TD>
0xffff: low<br>
0x0000: normal<br>
0x0001: high
</TD></TR><TR><TD>
15
</TD><TD>
Sharpness
</TD><TD>
0xffff: low<br>
0x0000: normal<br>
0x0001: high
</TD></TR><TR><TD>
16
</TD><TD>
ISO
</TD><TD>
If zero, use ISOSpeedRatings EXIF tag instead<br>
15: auto<br>
16: 50<br>
17: 100<br>
18: 200<br>
19: 400
</TD></TR><TR><TD>
17
</TD><TD>
Metering mode
</TD><TD>
3: Evaluative<br>
4: Partial<br>
5: Center-weighted
</TD></TR><TR><TD>
18
</TD><TD COLSPAN="2">
unknown
</TD></TR><TR><TD>
19
</TD><TD>
AF point selected
</TD><TD>
0x3000: none (MF)<br>
0x3001: auto-selected<br>
0x3002: right<br>
0x3003: center<br>
0x3004: left
</TD></TR><TR><TD>
20
</TD><TD>
Exposure mode
</TD><TD>
0: "Easy shooting" (use field 11)<br>
1: Program<br>
2: Tv-priority<br>
3: Av-priority<br>
4: Manual<br>
5: A-DEP
</TD></TR><TR><TD>
21, 22
</TD><TD COLSPAN="2">
unknown
</TD></TR><TR><TD>
23
</TD><TD COLSPAN="2">
"long" focal length of lens (in "focal units")
</TD></TR><TR><TD>
24
</TD><TD COLSPAN="2">
"short" focal length of lens (in "focal units")
</TD></TR><TR><TD>
25
</TD><TD COLSPAN="2">
"focal units" per mm
</TD></TR><TR><TD>
26 - 28
</TD><TD COLSPAN="2">
unknown
</TD></TR><TR><TD>
29
</TD><TD>
Flash details
</TD><TD>
Bits 15..0:<br>
14: external E-TTL<br>
13: internal flash<br>
11: FP sync used<br>
4: FP sync enabled<br>
other bits unknown
</TD></TR><TR><TD>
30 - 31
</TD><TD COLSPAN="2">
unknown
</TD></TR><TR><TD>
32
</TD><TD>
Focus mode
</TD><TD>
G1 seems to use this in preference to field 7<br>
0: Single<br>
1: Continuous
</TD></TR>
</TABLE>
</TD></TR><TR><TD>
0x3
</TD><TD>
Unknown
</TD><TD>
Unsigned Short
</TD><TD>
4
</TD><TD>
unknown
</TD></TR><TR><TD>
0x4
</TD><TD>
Unknown
</TD><TD>
Unsigned Short
</TD><TD>
varies
</TD><TD>
<TABLE BORDER="1">
<TR><TH>
Offset within tag
</TH><TH COLSPAN="2">
Meaning
</TH></TR>
<TR><TD>
0
</TD><TD COLSPAN="2">
Length of tag in bytes
(i.e. twice the number of shorts)
</TD></TR><TR><TD>
1 - 6
</TD><TD COLSPAN="2">
unknown
</TD></TR><TR><TD>
7
</TD><TD>
White balance
</TD><TD>
0: auto<br>
1: Sunny<br>
2: Cloudy<br>
3: Tungsten<br>
4: Flourescent<br>
5: Flash<br>
6: Custom
</TD></TR><TR><TD>
8
</TD><TD COLSPAN="2">
unknown
</TD></TR><TR><TD>
9
</TD><TD COLSPAN="2">
Sequence number (if in a continuous burst)
</TD></TR><TR><TD>
10 - 13
</TD><TD COLSPAN="2">
unknown
</TD></TR><TR><TD>
14
</TD><TD>
AF point used
</TD><TD>
Only set in One-Shot mode?<br>
If none used, AF failed or manual focus was used
(e.g. on a lens with full-time manual focus)
<br>
Bits 15..0:<br>
15-12: number of available focus points<br>
2: left<br>
1: center<br>
0: right
</TD></TR><TR><TD>
15
</TD><TD>
Flash bias
</TD><TD>
0xffc0: -2 EV<br>
0xffcc: -1.67 EV<br>
0xffd0: -1.50 EV<br>
0xffd4: -1.33 EV<br>
0xffe0: -1 EV<br>
0xffec: -0.67 EV<br>
0xfff0: -0.50 EV<br>
0xfff4: -0.33 EV<br>
0x0000: 0 EV<br>
0x000c: 0.33 EV<br>
0x0010: 0.50 EV<br>
0x0014: 0.67 EV<br>
0x0020: 1 EV<br>
0x002c: 1.33 EV<br>
0x0030: 1.50 EV<br>
0x0034: 1.67 EV<br>
0x0040: 2 EV
</TD></TR><TR><TD>
16 - 18
</TD><TD COLSPAN="2">
unknown
</TD></TR><TR><TD>
19
</TD><TD>
Subject Distance
</TD><TD>
Units are either 0.01m or 0.001m (both have been observed).
Still investigating.
<br>
In any case, the SubjectDistance EXIF tag is set by Canon cameras.
</TD></TR>
</TABLE>
</TD></TR><TR><TD>
0x6
</TD><TD>
Image type
</TD><TD>
Ascii string
</TD><TD>
32
</TD><TD>
e.g.: "IMG:EOS D30 JPEG"<br>
Has trailing whitespace.
</TD></TR><TR><TD>
0x7
</TD><TD>
Firmware version
</TD><TD>
Ascii string
</TD><TD>
24
</TD><TD>
May have trailing NULs and whitespace.
</TD></TR><TR><TD>
0x8
</TD><TD>
Image Number
</TD><TD>
Unsigned Long
</TD><TD>
1
</TD><TD>
Normally reported as FFF-XXXX.
<br>
FFF is this value divided by 1000, XXXX is this value mod 1000.
</TD></TR><TR><TD>
0x9
</TD><TD>
Owner name
</TD><TD>
Ascii string
</TD><TD>
32
</TD><TD>
May have trailing NULs and whitespace.
</TD></TR><TR><TD>
0xa
</TD><TD>
Unknown
</TD><TD>
Unsigned Short
</TD><TD>
varies
</TD><TD>
unknown
</TD></TR><TR><TD>
0xc
</TD><TD>
Camera serial number
</TD><TD>
Unsigned Long
</TD><TD>
1
</TD><TD>
High 16 bits are printed as a 4-digit hex number.
<br>
Low 16 bits are printed as a 5-digit decimal number.
<br>
These are concatenated to form the serial number.
Example printf() format string would be "%04X%05d".
</TD></TR><TR><TD>
0xd
</TD><TD>
Unknown
</TD><TD>
Unsigned Short
</TD><TD>
varies
</TD><TD>
unknown
</TD></TR><TR><TD>
0xf
</TD><TD>
Custom Functions
</TD><TD>
Unsigned Short
</TD><TD>
varies
</TD><TD>
First short is the number of bytes in the tag
(i.e. twice the number of shorts)
<br>
For each other value: the top 8 bits are the C.Fn number,
and the lower 8 bits are the value.
</TD></TR>
</TABLE>
<H3>EOS D30 Custom Functions</H3>
<TABLE BORDER="1">
<TR><TH>
C.Fn
</TH><TH>
Name
</TH><TH>
Value
</TH>
</TR><TR><TD>
1
</TD><TD>
Long exposure noise reduction
</TD><TD>
0: Off<br>
1: On
</TD></TR><TR><TD>
2
</TD><TD>
Shutter/AE-lock buttons
</TD><TD>
0: AF/AE lock<br>
1: AE lock/AF<br>
2: AF/AF lock<br>
3: AE+release/AE+AF
</TD></TR><TR><TD>
3
</TD><TD>
Mirror lockup
</TD><TD>
0: Disable<br>
1: Enable
</TD></TR><TR><TD>
4
</TD><TD>
Tv/Av and exposure level
</TD><TD>
0: 1/2 stop<br>
1: 1/3 stop
</TD></TR><TR><TD>
5
</TD><TD>
AF-assist light
</TD><TD>
0: On (auto)<br>
1: Off
</TD></TR><TR><TD>
6
</TD><TD>
Shutter speed in Av mode
</TD><TD>
0: Automatic<br>
1: 1/200 (fixed)
</TD></TR><TR><TD>
7
</TD><TD>
AEB sequence/auto cancellation
</TD><TD>
0: 0, -, + / Enabled<br>
1: 0, -, + / Disabled<br>
2: -, 0, + / Enabled<br>
3: -, 0, + / Disabled
</TD></TR><TR><TD>
8
</TD><TD>
Shutter curtain sync
</TD><TD>
0: 1st-curtain sync<br>
1: 2nd-curtain sync
</TD></TR><TR><TD>
9
</TD><TD>
Lens AF stop button Fn. Switch
</TD><TD>
0: AF stop<br>
1: Operate AF<br>
2: Lock AE and start timer
</TD></TR><TR><TD>
10
</TD><TD>
Auto reduction of fill flash
</TD><TD>
0: Enable<br>
1: Disable
</TD></TR><TR><TD>
11
</TD><TD>
Menu button return position
</TD><TD>
0: Top<br>
1: Previous (volatile)<br>
2: Previous
</TD></TR><TR><TD>
12
</TD><TD>
SET button func. when shooting
</TD><TD>
0: Not assigned<br>
1: Change quality<br>
2: Change ISO speed<br>
3: Select parameters
</TD></TR><TR><TD>
13
</TD><TD>
Sensor cleaning
</TD><TD>
0: Disable<br>
1: Enable
</TD></TR>
</TABLE>
<BR>
<HR>
<BR>
<H2><A NAME="HIST">History</A></H2>
<h3>rev. 1.4</h3>
<ul>
<li>Added Makernote of Canon
<li>Added Color/Tone TAGs to Fujifilm's makernote
</ul>
<H3>rev. 1.3</H3>
<UL>
<LI>Added Exif2.1 specification
<LI>Added Makernote of Fujifilm
</UL>
<H3>rev. 1.2</H3>
<UL>
<LI>Added DCF specification
<LI>Added Interoperability IFD
<LI>Added Makernote of Nikon/Casio
</UL>
<H3>rev. 1.1</H3>
<UL>
<LI>Added byte align explanation to TAG Mark of TIFF header
<LI>Corrected data format of some TAGs to "unsigned short/long"
<LI>Corrected value of FocalPlaneResolutionUnit
<LI>Added Appendix 1: MakerNote of Olympus
</UL>
<H3>rev. 1.0</H3>
<UL>
<LI>First release
</UL>
<H2><A NAME="THANKS">Acknowledgement</A></H2>
I would like to thank to;<BR>
<BR>
Daniel Switkin: Byte align of TAG Mark, Format of ImageWidth/ImageLength<BR>
Peter Esherick: MakerNote of Olympus<BR>
Matthias Wandel: Value of FocalPlaneResolutionUnit<BR>
<A HREF="mailto:maxlyons@erols.com">Max Lyons</A>: Makernote of Nikon ...His<A HREF="http://tawba.tripod.com/"> webpage</A><BR>
<A HREF="mailto:eckhard.henkel@t-online.de">Eckhard Henkel</A>: Makernote of Casio ...His<A HREF="http://home.t-online.de/home/eckhard.henkel/"> webpage</A><BR>
<a href="mailto:db061@burren.cx">David Burren</a>: FocalPlaneResolutionUnit of Fujifilm's / Makernote of Canon ...His<a href="http://www.burren.cx/david/"> webpage</a><BR>
</BODY>
</HTML>
|