All I'm trying to do is display an image using Pillow on Raspberry Pi 3
First tried using this code:
from PIL import Image
from PIL import ImageShow
imageA = Image.open('Moth.png')
ImageShow.show(imageA)
print("Done")
It didn't work, no error code, no nothing, it just skipped the code entirely
I digged a bit around and found out that maybe there could be an issue with the image displayer, so I tried adding it in like this:
from PIL import Image
from PIL import ImageShow
imageA = Image.open('Moth.png')
ImageShow.show(imageA,title=None,command='GPicView')
print("Done")
It didn't work either, I also tried installing fim and using
ImageShow.show(imageA,title=None,command='fim')
like one of the answers on this site suggested, but that didn't work either
I made sure that fim has been installed correctly, so there must be something wrong with the code, but I can't understand what, maybe I didn't import ImageShow the right way?
I also tried using
imageA.show(command='fim')
But it yields the same results
I'm new to coding with Python (and in general), so maybe I'm just doing something stupid without realizing it