<binaryObject>

<binaryObject> provides encoded binary data representing an inline graphic or other object.
Modulecore — 3 Elements Available in All TEI Documents
Attributes att.internetMedia (@mimeType)
widthThe display width of the object
Status Mandatory when applicable
Datatype

<rng:ref name="data.outputMeasurement"/>
data.outputMeasurement
heightThe display height of the object
Status Mandatory when applicable
Datatype

<rng:ref name="data.outputMeasurement"/>
data.outputMeasurement
scaleA scale factor to be applied to the object to make it the desired display size
Status Mandatory when applicable
Datatype

<rng:ref name="data.numeric"/>
data.numeric
encodingThe encoding used to encode the binary data. If not specified, this is assumed to be Base64.
Status Optional
Datatype 1–∞ occurrences of

<rng:ref name="data.word"/>
data.word
separated by whitespace
Used by model.graphicLike model.titlepagePart
May containCharacter data only
Declaration

<rng:element name="binaryObject">
<rng:ref name="att.global.attributes"/>
<rng:ref name="att.internetMedia.attributes"/>
<rng:optional>
 <rng:attribute name="width">
  <rng:ref name="data.outputMeasurement"/>
 </rng:attribute>
</rng:optional>
<rng:optional>
 <rng:attribute name="height">
  <rng:ref name="data.outputMeasurement"/>
 </rng:attribute>
</rng:optional>
<rng:optional>
 <rng:attribute name="scale">
  <rng:ref name="data.numeric"/>
 </rng:attribute>
</rng:optional>
<rng:optional>
 <rng:attribute name="encoding">
  <rng:list>
   <rng:oneOrMore>
    <rng:ref name="data.word"/>
   </rng:oneOrMore>
  </rng:list>
 </rng:attribute>
</rng:optional>
<rng:text/>
</rng:element>
element binaryObject
{
   att.global.attributes,
   att.internetMedia.attributes,
   attribute width { data.outputMeasurement }?,
   attribute height { data.outputMeasurement }?,
   attribute scale { data.numeric }?,
   attribute encoding { list { data.word+ } }?,
   text
}
Example
<binaryObject mimeType="image/gif">R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAwAAAC8IyPqcvt3wCcDkiLc7C0qwy
GHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFzByTB10QgxOR0TqBQejhRNzOfkVJ
+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSpa/TPg7JpJHxyendzWTBfX0cxOnK
PjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJlZeGl9i2icVqaNVailT6F5iJ90m6
mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uisF81M1OIcR7lEewwcLp7tuNNkM3u
Nna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PH hhx4dbgYKAAA7</binaryObject>
Note
The MIME media type specified on the mimeType attribute should describe the object after it has been decoded.