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 3bb15a7 commit 8b2ff99Copy full SHA for 8b2ff99
adafruit_bitmapsaver.py
@@ -91,6 +91,7 @@ def _write_pixels(output_file, pixel_source, palette):
91
color >>= 8
92
buffer_index += 1
93
else:
94
+ result_buffer = bytearray(2048)
95
data = pixel_source.fill_row(y - 1, result_buffer)
96
for i in range(width):
97
pixel565 = (data[i * 2] << 8) + data[i * 2 + 1]
0 commit comments