Editing Template:IFD format
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
=== IFD format === | === IFD format === | ||
An Image File Directory (IFD) consists of a 2-byte count of the number of | An Image File Directory (IFD) consists of a 2-byte count of the number of direc- | ||
tory entries (i.e., the number of fields), followed by a sequence of 12-byte field | |||
entries, followed by a 4-byte offset of the next IFD (or 0 if none). (Do not forget to | entries, followed by a 4-byte offset of the next IFD (or 0 if none). (Do not forget to | ||
write the 4 bytes of 0 after the last IFD. | write the 4 bytes of 0 after the last IFD. | ||
Line 13: | Line 10: | ||
|colspan="2" style="text-align:center; background-color:#IFDIFD;" | '''IFD entry''' | |colspan="2" style="text-align:center; background-color:#IFDIFD;" | '''IFD entry''' | ||
|- | |- | ||
! style="background-color:# | ! style="background-color:#000FFF; color:#FFFFFF;" |bytes field (h) || style="background-color:#000FFF; color:#FFFFFF;" |Format | ||
|- | |- | ||
|colspan="2" style="text-align:center; background-color:#FFFFFF;" | | |colspan="2" style="text-align:center; background-color:#FFFFFF;" | |