Python PIL Image BGRA 转为 RGBA
from PIL import Image
b,g,r,a = Image.open("box.png").split()
box_png = Image.merge("RGBA", (r,g,b,a))
box_png.save('tmp.png')
from PIL import Image
b,g,r,a = Image.open("box.png").split()
box_png = Image.merge("RGBA", (r,g,b,a))
box_png.save('tmp.png')