Skip to content

Commit aed45f4

Browse files
Update ImageTransposing.py
1 parent 1882b72 commit aed45f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Image Processing/ImageTransposing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
from PIL import Image
55

66
#opening the image
7-
img = Image.open('Home/Pictures/default.jpg')
7+
filePath=input("Enter the path of your Image : ")
8+
img=Image.open(filePath)
89

910
#transpose of the matrix
1011
transposed_img=img.transpose(Image.FLIP_LEFT_RIGHT)

0 commit comments

Comments
 (0)