Update comment

This commit is contained in:
kris 2021-11-02 22:15:09 +00:00
parent 3544bd74c8
commit 52bd35e875
1 changed files with 2 additions and 4 deletions

View File

@ -52,10 +52,8 @@ class DHGRScreen:
def bitmap_to_image_rgb(self, bitmap: np.ndarray) -> np.ndarray:
"""Convert our 2-bit bitmap image into a RGB image.
XXX
Colour at every pixel is determined by the value of a 8-bit sliding
window indexed by x % 4, which gives the index into our 256-colour RGB
palette.
Colour at every pixel is determined by the value of an n-bit sliding
window and x % 4, which give the index into our RGB palette.
"""
image_rgb = np.empty((self.Y_RES, self.X_RES, 3), dtype=np.uint8)
for y in range(self.Y_RES):