Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ihaveamicroservice committed Oct 6, 2023
1 parent ff88e7a commit 6ed3d00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compression.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

def compress(inputblob: func.InputStream, resolution: int) -> bytes:
image = Image.open(inputblob)

# Set max height and width
max_size = (resolution, resolution)

# Create a thumbnail. This method modifies the image to contain
Expand Down

0 comments on commit 6ed3d00

Please sign in to comment.