potential bug fix
This commit is contained in:
parent
415f2f9987
commit
a69575552f
1 changed files with 2 additions and 1 deletions
|
|
@ -33,7 +33,8 @@ def pure_pil_alpha_to_color_v2(image, color=(0, 0, 0)):
|
||||||
return background
|
return background
|
||||||
|
|
||||||
image = Image.open("../testImg.bmp")
|
image = Image.open("../testImg.bmp")
|
||||||
RGBImage = pure_pil_alpha_to_color_v2(image.thumbnail((128,62), Image.ANTIALIAS))
|
image.thumbnail((128,62), Image.ANTIALIAS)
|
||||||
|
RGBImage = pure_pil_alpha_to_color_v2()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue