Single-line fix of that stupid bottom-right pixel
This commit is contained in:
parent
5872a931e1
commit
49fa1d7547
|
@ -73,7 +73,7 @@ class Converter:
|
||||||
):
|
):
|
||||||
out |= bit
|
out |= bit
|
||||||
# bottom right pixel fix?
|
# bottom right pixel fix?
|
||||||
if self._is_darker(dark_i, bri_i, self._img.getpixel((x + 1, y + 2))):
|
if not self._is_darker(dark_i, bri_i, self._img.getpixel((x + 1, y + 2))):
|
||||||
out ^= 31
|
out ^= 31
|
||||||
dark_i, bri_i = bri_i, dark_i
|
dark_i, bri_i = bri_i, dark_i
|
||||||
return out, dark_i, bri_i
|
return out, dark_i, bri_i
|
||||||
|
|
Loading…
Reference in New Issue