I am trying to read a png image in python. The imread function in scipy is being deprecated and they recommend using imageio
png
imread
scipy
imageio
You can also use Pillow like this:
from PIL import Image image = Image.open("image_path.jpg") image.show()