Skip to content

Commit

Permalink
lv_img_conv: fix read alpha channel
Browse files Browse the repository at this point in the history
  • Loading branch information
NeroBurner committed Sep 28, 2023
1 parent eb6828b commit 0292036
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/resources/lv_img_conv.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def test_classify_pixel():
r_act = classify_pixel(pixel[0], 5)
g_act = classify_pixel(pixel[1], 6)
b_act = classify_pixel(pixel[2], 5)
a = pixel[3]
if r_act > 0xF8:
r_act = 0xF8
if g_act > 0xFC:
Expand Down

0 comments on commit 0292036

Please sign in to comment.