I am using the Python Imaging Library (PIL), Python 2 and Raspberry Pi 3 B+

My code is simply:

    from PIL import Image

    im = Image.open(‘somepic.jpg’)
    im.show() # display image


But the show() method looks for the default viewer (probably xv). How do I change this (in the code, or in some settings) to a different viewer (of my choice)?

Thanks,
Paul

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to