Answers for "ipython display image open image"

1

show jpg in jupyter notebook

from IPython.display import Image, display

listOfImageNames = ['/path/to/images/1.png',
                    '/path/to/images/2.png']

for imageName in listOfImageNames:
    display(Image(filename=imageName))
Posted by: Guest on January-24-2021

Python Answers by Framework

Browse Popular Code Answers by Language