Commit 16fc5ec
committed
Make LA transform fill opaque, consistent with RGBA
test_fill[LA] asserted (76, 0): a transparent fill for an opaque "red"
fillcolor. That was a side effect of getcolor("red", "La") returning a
bare graylevel int, so the transform's internal La fill defaulted alpha
to 0. With getcolor now returning (76, 255), the LA fill matches both the
RGBA case and Image.new("LA", ..., "red").1 parent 072f1e9 commit 16fc5ec
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
0 commit comments