- Ensure you have Python installed along with the Pillow library.
- Replace
'input_image.jpg'with the file path of your input image. - Specify the desired size in the
square_sizevariable. - Run the script.
- The resulting image will be saved as
'output_image.jpg'.
ankantalukdar/squareimage
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|