sasha HF Staff commited on
Commit
56694f0
·
1 Parent(s): 37e9f21

oops backwards

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -51,10 +51,10 @@ def overlay_png_on_side_by_side_images(
51
  png_img = Image.open(overlay_image_path).convert("RGBA")
52
 
53
  # Determine a common height for side-by-side images
54
- min_height = 5400
55
  # Resize images to the common height, maintaining aspect ratio
56
- img1 = img1.resize((1800, 5400), Image.LANCZOS)
57
- img2 = img2.resize((1800, 5400), Image.LANCZOS)
58
  combined_width = img1.width + img2.width
59
  # Create a blank canvas for the combined image
60
 
 
51
  png_img = Image.open(overlay_image_path).convert("RGBA")
52
 
53
  # Determine a common height for side-by-side images
54
+ min_height = 3600
55
  # Resize images to the common height, maintaining aspect ratio
56
+ img1 = img1.resize((2700, 3600), Image.LANCZOS)
57
+ img2 = img2.resize((2700, 3600), Image.LANCZOS)
58
  combined_width = img1.width + img2.width
59
  # Create a blank canvas for the combined image
60