# `EBDT`: Embedded Bitmap Data table

The `EBDT` table is an OpenType table.

This `EBDT` table converter module depends on the `BitmapGlyphMetrics` module, which it shares with the `EBLC`, `CBDT`, and `CBLC` converters.

class fontTools.ttLib.tables.E_B_D_T_.table_E_B_D_T_(tag=None)

  Bases: `DefaultTable`

  Embedded Bitmap Data table

  The `EBDT` table contains monochrome or grayscale bitmap data for glyphs. It must be used in concert with the `EBLC` table.

  See also https://learn.microsoft.com/en-us/typography/opentype/spec/ebdt

  locatorName = 'EBLC'
  getImageFormatClass(imageFormat)
  decompile(data, ttFont)
  compile(ttFont)
  toXML(writer, ttFont)
  fromXML(name, attrs, content, ttFont)
  subset_glyphs(s)

class fontTools.ttLib.tables.E_B_D_T_.EbdtComponent

  Bases: `object`

  toXML(writer, ttFont)
  fromXML(name, attrs, content, ttFont)

class fontTools.ttLib.tables.E_B_D_T_.BitmapGlyph(data, ttFont)

  Bases: `object`

  fileExtension = '.bin'
  xmlDataFunctions = {'bitwise': (<function _writeBitwiseImageData>, <function _readBitwiseImageData>), 'extfile': (<function _writeExtFileImageData>, <function _readExtFileImageData>), 'raw': (<function _writeRawImageData>, <function _readRawImageData>), 'row': (<function _writeRowImageData>, <function _readRowImageData>)}
  ensureDecompiled(recurse=False)
  getFormat()
  toXML(strikeIndex, glyphName, writer, ttFont)
  fromXML(name, attrs, content, ttFont)
  writeMetrics(writer, ttFont)
  readMetrics(name, attrs, content, ttFont)
  writeData(strikeIndex, glyphName, writer, ttFont)
  readData(name, attrs, content, ttFont)

fontTools.ttLib.tables.E_B_D_T_.BitmapPlusBigMetricsMixin

  alias of `BitmapPlusMetricsMixin`

fontTools.ttLib.tables.E_B_D_T_.BitmapPlusSmallMetricsMixin

  alias of `BitmapPlusMetricsMixin`

class fontTools.ttLib.tables.E_B_D_T_.BitAlignedBitmapMixin

  Bases: `object`

  getRow(row, bitDepth=1, metrics=None, reverseBytes=False)
  setRows(dataRows, bitDepth=1, metrics=None, reverseBytes=False)

class fontTools.ttLib.tables.E_B_D_T_.ByteAlignedBitmapMixin

  Bases: `object`

  getRow(row, bitDepth=1, metrics=None, reverseBytes=False)
  setRows(dataRows, bitDepth=1, metrics=None, reverseBytes=False)

class fontTools.ttLib.tables.E_B_D_T_.ebdt_bitmap_format_1(data, ttFont)

  Bases: `ByteAlignedBitmapMixin`, `BitmapPlusMetricsMixin`, `BitmapGlyph`

  decompile()
  compile(ttFont)

class fontTools.ttLib.tables.E_B_D_T_.ebdt_bitmap_format_2(data, ttFont)

  Bases: `BitAlignedBitmapMixin`, `BitmapPlusMetricsMixin`, `BitmapGlyph`

  decompile()
  compile(ttFont)

class fontTools.ttLib.tables.E_B_D_T_.ebdt_bitmap_format_5(data, ttFont)

  Bases: `BitAlignedBitmapMixin`, `BitmapGlyph`

  decompile()
  compile(ttFont)

class fontTools.ttLib.tables.E_B_D_T_.ebdt_bitmap_format_6(data, ttFont)

  Bases: `ByteAlignedBitmapMixin`, `BitmapPlusMetricsMixin`, `BitmapGlyph`

  decompile()
  compile(ttFont)

class fontTools.ttLib.tables.E_B_D_T_.ebdt_bitmap_format_7(data, ttFont)

  Bases: `BitAlignedBitmapMixin`, `BitmapPlusMetricsMixin`, `BitmapGlyph`

  decompile()
  compile(ttFont)

class fontTools.ttLib.tables.E_B_D_T_.ComponentBitmapGlyph(data, ttFont)

  Bases: `BitmapGlyph`

  toXML(strikeIndex, glyphName, writer, ttFont)
  fromXML(name, attrs, content, ttFont)

class fontTools.ttLib.tables.E_B_D_T_.ebdt_bitmap_format_8(data, ttFont)

  Bases: `BitmapPlusMetricsMixin`, `ComponentBitmapGlyph`

  decompile()
  compile(ttFont)

class fontTools.ttLib.tables.E_B_D_T_.ebdt_bitmap_format_9(data, ttFont)

  Bases: `BitmapPlusMetricsMixin`, `ComponentBitmapGlyph`

  decompile()
  compile(ttFont)