We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8d2895 commit b62f51fCopy full SHA for b62f51f
adafruit_imageload/bmp/indexed.py
@@ -73,13 +73,10 @@ def load(
73
while colors > 2 ** minimum_color_depth:
74
minimum_color_depth *= 2
75
76
- # convert unsigned int to signed int when height is negative
77
if sys.maxsize > 1073741823:
78
# pylint: disable=import-outside-toplevel
79
from .negative_height_check import negative_height_check
80
81
- height = height - 4294967296
82
-
83
# convert unsigned int to signed int when height is negative
84
height = negative_height_check(height)
85
bitmap = bitmap(width, abs(height), colors)
0 commit comments