Frame Type 1
Type 1 is used to tranfer data files. Each transfered file is identified by one identifier (IDDT).
FRDT=IDSZ IDDT BIDT
Item |
Size |
Description |
|---|---|---|
IDSZ |
4 |
Size of Identifier |
IDDT |
IDSZ |
Identifier (string) |
BIDT |
FRSZ-4-IDSZ |
Binary data |
It is possible to use special mime-type Tahiti/Attrs+Bin for file. Such file contains not only binary data but also XML file with some additional attributes. Embedded XML file contains at least real mime-type of the data file. Structure of such file is bellow:
BIDT=XMLSZ XMLDT BDT
Item |
Size |
Description |
|---|---|---|
XMLSZ |
4 |
Size of the XML file |
XMLDT |
XMLSZ |
XML file |
BDT |
FRSZ-4-IDSZ-4-XMLSZ |
Binary data |
File Attributes
Embedded XML file contains additional attributes for the File.
<?xml version="1.0"?>
<Attributes>
<Attribute name="Page.mimetype" value="image/tiff"/>
</Attributes>
Tag Attribute contains name and value of the attribute. Available attributes are in the following table:
Attribute |
|---|
Page.mimetype |
Page.origName |
Page.creationtime |
Page.importance |