The PIL show() method looks for the default viewer. How do I change this to a different viewer (of my choice)?
Paul St George
email at paulstgeorge.com
Fri May 25 07:04:03 EDT 2018
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
More information about the Python-list
mailing list