I want to resize an image using a function. I want to do it through a function because I want it to be modular. However, I am getting the following error:
Tr