# `CBDT`: Color Bitmap Data table

The `CBDT` table is an OpenType table.

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

class fontTools.ttLib.tables.C_B_D_T_.table_C_B_D_T_(tag=None)

  Bases: `table_E_B_D_T_`

  Color Bitmap Data table

  The `CBDT` table contains color bitmap data for glyphs. It must be used in concert with the `CBLC` table.

  It is backwards-compatible with the monochrome/grayscale `EBDT` table.

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

  locatorName = 'CBLC'
  getImageFormatClass(imageFormat)

class fontTools.ttLib.tables.C_B_D_T_.ColorBitmapGlyph(data, ttFont)

  Bases: `BitmapGlyph`

  fileExtension = '.png'
  xmlDataFunctions = {'bitwise': (<function _writeBitwiseImageData>, <function _readBitwiseImageData>), 'extfile': (<function _writeExtFileImageData>, <function _readExtFileImageData>), 'raw': (<function _writeRawImageData>, <function _readRawImageData>)}

class fontTools.ttLib.tables.C_B_D_T_.cbdt_bitmap_format_17(data, ttFont)

  Bases: `BitmapPlusMetricsMixin`, `ColorBitmapGlyph`

  decompile()
  compile(ttFont)

class fontTools.ttLib.tables.C_B_D_T_.cbdt_bitmap_format_18(data, ttFont)

  Bases: `BitmapPlusMetricsMixin`, `ColorBitmapGlyph`

  decompile()
  compile(ttFont)

class fontTools.ttLib.tables.C_B_D_T_.cbdt_bitmap_format_19(data, ttFont)

  Bases: `ColorBitmapGlyph`

  decompile()
  compile(ttFont)