capradeepgujaran commited on
Commit
1042be3
·
verified ·
1 Parent(s): 4f7e773

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -440,7 +440,7 @@ class CertificateGenerator:
440
  try:
441
  logo = Image.open(logo_path)
442
  # Resize logo to appropriate size
443
- logo.thumbnail((150, 80))
444
  # Position in top-left corner with padding
445
  certificate.paste(logo, (60, 50), mask=logo if 'A' in logo.getbands() else None)
446
  except Exception as e:
 
440
  try:
441
  logo = Image.open(logo_path)
442
  # Resize logo to appropriate size
443
+ logo.thumbnail((250, 120))
444
  # Position in top-left corner with padding
445
  certificate.paste(logo, (60, 50), mask=logo if 'A' in logo.getbands() else None)
446
  except Exception as e: