John Smith commited on
Commit
7fc81f5
·
1 Parent(s): 2dcf048

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -162,7 +162,7 @@ def image_properties(img):
162
  global img_mode
163
  if img:
164
  #if has_transparency(img):
165
- # img_mode = "RGBA"
166
  #else:
167
  # img_mode = "RGB"
168
  properties = f"Width: {img.size[0]}, Height: {img.size[1]} | Color Mode: {img_mode}"
 
162
  global img_mode
163
  if img:
164
  #if has_transparency(img):
165
+ img_mode = "RGBA"
166
  #else:
167
  # img_mode = "RGB"
168
  properties = f"Width: {img.size[0]}, Height: {img.size[1]} | Color Mode: {img_mode}"