Seems that #61 introduced an issue with Inky displays in BW mode. Prior to that fix Inky models used black as the color mode instead of bw. This caused images in that mode to use palette based color filtering with a palette. By fixing the mode it now triggers the conditional to convert the image to using convert(mode=1). For some reason having the image in this mode causes the black and white pixels to be inverted when drawn to the display.
In hindsight this was working correctly, but only because the code block that should have been triggered was actually missed. Inky seems to respond correctly by having the image in P mode.
Seems that #61 introduced an issue with Inky displays in BW mode. Prior to that fix Inky models used
black
as the color mode instead ofbw
. This caused images in that mode to use palette based color filtering with a palette. By fixing the mode it now triggers the conditional to convert the image to usingconvert(mode=1)
. For some reason having the image in this mode causes the black and white pixels to be inverted when drawn to the display.In hindsight this was working correctly, but only because the code block that should have been triggered was actually missed. Inky seems to respond correctly by having the image in
P
mode.