সম্পাদনা
from PIL import Image background = Image.new("RGBA", (100, 100), (255, 255, 255, 255)) foreground = Image.new("RGBA", (100, 100), (255, 0, 0, 128)) image = Image.alpha_composite(background, foreground) print(image.mode)
পূর্বরূপ