Fix for Bug #156

This commit is contained in:
Manish Khanna 2021-04-17 21:03:00 +05:30
parent af9694c602
commit 4a105c992b

View file

@ -410,7 +410,7 @@ class EPD:
for x in range(imwidth):
for y in range(imheight):
newx = y
newy = x
newy = self.height - x - 1
if(pixels[x, y] == 0xC0):
pixels[x, y] = 0x80
elif (pixels[x, y] == 0x80):