<binaryObject>

<binaryObject> provides encoded binary data representing an inline graphic or other object.
Modulecore — 3 Elements Available in All TEI Documents
Attributesatt.global (@xml:id, @n, @xml:lang, @rend, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) att.internetMedia (@mimeType)
widthThe display width of the object
Status Optional
Datatype

<rng:ref name="data.outputMeasurement"/>
data.outputMeasurement
heightThe display height of the object
Status Optional
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 Optional
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
Contained by
analysis: cl phr s
gaiji: char glyph
linking: ab seg
spoken: u writing
textcrit: lem rdg wit witDetail
verse: rhyme
May containCharacter data only
Declaration

<rng:element name="binaryObject">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.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:ref name="data.word"/>
    <rng:zeroOrMore>
     <rng:ref name="data.word"/>
    </rng:zeroOrMore>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:text/>
</rng:element>
element binaryObject
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.internetMedia.attributes,
   attribute width { data.outputMeasurement }?,
   attribute height { data.outputMeasurement }?,
   attribute scale { data.numeric }?,
   attribute encoding { list { data.word, 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.