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
Thu May 31 12:47:46 EDT 2018


That's what I wanted! But, I didn't know the question because I didn't 
know the answer.


On 30/05/2018 23:09, Karsten Hilbert wrote:
> On Wed, May 30, 2018 at 11:01:17PM +0200, Peter J. Holzer wrote:
>
>> On 2018-05-30 22:08:45 +0200, Paul St George wrote:
>>> Ha! No, my question was clumsy.
>>>
>>> If I know the name of the viewer that I want to use (say for example:
>>> ‘ImageMagick’), where do I find the argument that should be used in a line
>>> of code such as this:
>>>
>>> ImageShow.register(MyViewer("gwenview"), -1)
> 	$> man -k ImageMagick
> 	$> man whatever_you_found_with_the_above
>
> Karsten

-- 
Paul St George
http://www.paulstgeorge.com
http://www.devices-of-wonder.com

+44(0)7595 37 1302




More information about the Python-list mailing list