Not able to paste over it

from PIL import Image,  ImageFont, ImageDraw, ImageEnhance


files = [
  
  'bg.jpg',
  'upperlayer.png'

  ]




result = Image.new("RGB", (1080, 1080))
for file in files:
    a = Image.open(file)
    

past = result.paste(a)


result.save("image.png", format="png")
result.show("image.png")


i want to past bg.jpg , upperlayer.png over result
but problem i get that png image is not supporting and sometime it show no len

can anyone suggest me better way to do it

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.