Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mrinank-Bhowmick/python-beginner-projects
/ resize_image
Function
resize_image
projects/Resize_Image/resize.py:5–8 ·
view source on GitHub ↗
(image_path, size)
Source
from the content-addressed store, hash-verified
3
4
5
def
resize_image(image_path, size):
6
im = Image.open(image_path)
7
im = im.resize(size)
8
return
im
9
10
11
def
main():
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected