fix tapas merging

This commit is contained in:
bakatrouble 2019-04-11 02:46:32 +03:00
parent 6bcc72a434
commit 39605578d7

View File

@ -61,7 +61,7 @@ class TapasFeedModuleConfig(FeedModuleConfig):
ims.append(Image.open(img_path))
widths, heights = zip(*(i.size for i in ims))
max_width = max(widths)
total_height = max(heights)
total_height = sum(heights)
new_im = Image.new('RGB', (max_width, total_height))
offset = 0
for im in ims: