Skip to content

Commit

Permalink
Merge pull request #46 from musta20/main
Browse files Browse the repository at this point in the history
add comments to python file
  • Loading branch information
musta20 authored Sep 24, 2024
2 parents ac460ef + 35257d4 commit 98c0d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/Images/small.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os
from PIL import Image

#this python file made to optmize images in folder
def resize_image(file_path, max_size=(1024, 1024), quality=85):
try:
with Image.open(file_path) as img:
Expand Down

0 comments on commit 98c0d60

Please sign in to comment.