fix tapas merging
This commit is contained in:
parent
6bcc72a434
commit
39605578d7
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user