X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka_Displayio.git/blobdiff_plain/9174c060a2059d9debc04a1254bbc516f78d0dd7..db195c4168b118203a3892b5f04e9d609a041fbd:/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: """