Omnibus commited on
Commit
506db25
·
1 Parent(s): e6cf92e

Update overlay.py

Browse files
Files changed (1) hide show
  1. overlay.py +2 -2
overlay.py CHANGED
@@ -36,8 +36,8 @@ def process(img,font_text,font_fac,font_x,font_y,font_col,font_op):
36
  #txt.putalpha(128)
37
 
38
  combined = Image.alpha_composite(im, txt)
39
-
40
- return combined
41
 
42
  def textover(im,txt):
43
  #im.save('tmp.png')
 
36
  #txt.putalpha(128)
37
 
38
  combined = Image.alpha_composite(im, txt)
39
+ combined.save("combined.png")
40
+ return "combined.png"
41
 
42
  def textover(im,txt):
43
  #im.save('tmp.png')