Fixed pixelterm rendering of parts where the lower pixel is transparent
This commit is contained in:
parent
dfa3f22662
commit
e05209b92a
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ def termify_pixels(img):
|
|||
#Da magicks: ▀█▄
|
||||
c,cf = '▀','█'
|
||||
te,be = fgescape,bgescape
|
||||
if coltop == (0,0,0,0) or coltop == bg or colbot == fg:
|
||||
if coltop == (0,0,0,0) or ((coltop == bg or colbot == fg) and not colbot == (0,0,0,0)):
|
||||
c,cf,te,be = '▄',' ',be,te
|
||||
if colbot == coltop:
|
||||
c,te,be = cf,te,te
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue