We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 01cea42 + b164009 commit c1051f9Copy full SHA for c1051f9
1 file changed
adafruit_imageload/bmp/truecolor.py
@@ -94,7 +94,7 @@ def load( # noqa: PLR0912, PLR0913, Too many branches, Too many arguments in fu
94
95
# convert unsigned int to signed int when height is negative
96
height = negative_height_check(height)
97
- bitmap_obj = Bitmap(width, abs(height), 65535)
+ bitmap_obj = bitmap(width, abs(height), 65535)
98
file.seek(data_start)
99
line_size = width * (color_depth // 8)
100
# Set the seek direction based on whether the height value is negative or positive
0 commit comments