X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka_Displayio.git/blobdiff_plain/e6284da03fe940ace9fe15d092f45124cb7c12d2..03b2e1008f33585652fad5ecedad65d44694b2bc:/displayio/_ondiskbitmap.py diff --git a/displayio/_ondiskbitmap.py b/displayio/_ondiskbitmap.py index 2c48043..c052bcb 100644 --- a/displayio/_ondiskbitmap.py +++ b/displayio/_ondiskbitmap.py @@ -47,8 +47,8 @@ class OnDiskBitmap: @property def pixel_shader(self) -> Union[ColorConverter, Palette]: - """Height of the bitmap. (read only)""" - return self._image.height + """The ColorConverter or Palette for this image. (read only)""" + return self._image.getpalette() def __getitem__(self, index: Union[tuple, list, int]) -> int: """