Felixogunwale commited on
Commit
611a175
1 Parent(s): 278ed4f

Update crop.py

Browse files
Files changed (1) hide show
  1. crop.py +1 -1
crop.py CHANGED
@@ -13,7 +13,7 @@ from PIL import Image
13
 
14
 
15
  def crop():
16
- img = Image.open("image.jpg") #process the image
17
 
18
  if img.height > 300 or img.width > 300: #get the height and width of the image
19
  output_size = (900, 900) #crop the image to the output size
 
13
 
14
 
15
  def crop():
16
+ img = Image.open("image.png") #process the image
17
 
18
  if img.height > 300 or img.width > 300: #get the height and width of the image
19
  output_size = (900, 900) #crop the image to the output size