I'm reading all the image files from a folder. I want to specify different image types such as jpg, jpeg, png
My code:
for file in glob.glob("./Images/*.jpg"):
How could I add more types to this?
Thanks for the help in advance!
I'm reading all the image files from a folder. I want to specify different image types such as jpg, jpeg, png
My code:
for file in glob.glob("./Images/*.jpg"):
How could I add more types to this?
Thanks for the help in advance!