|
|
|
@ -78,7 +78,6 @@ class ProjectLiferFrame(Frame): |
|
|
|
new_im = Image.new('RGB', (x + x, y)) |
|
|
|
new_im = Image.new('RGB', (x + x, y)) |
|
|
|
new_im.paste(img1, (0, 0)) |
|
|
|
new_im.paste(img1, (0, 0)) |
|
|
|
new_im.paste(img2, (x, 0)) |
|
|
|
new_im.paste(img2, (x, 0)) |
|
|
|
savepath = os.path.dirname(path) |
|
|
|
|
|
|
|
imgname1 = os.path.splitext(os.path.basename(i1))[0] |
|
|
|
imgname1 = os.path.splitext(os.path.basename(i1))[0] |
|
|
|
imgname2 = os.path.splitext(os.path.basename(i2))[0] |
|
|
|
imgname2 = os.path.splitext(os.path.basename(i2))[0] |
|
|
|
new_im.save(self.folder + os.path.sep + '{}_and_{}.jpg'.format(imgname1, imgname2)) |
|
|
|
new_im.save(self.folder + os.path.sep + '{}_and_{}.jpg'.format(imgname1, imgname2)) |
|
|
|
|