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)

I want to replace ‘gwenview’ with the name of my favourite viewer (for example: ‘ImageMagick’).



On 30/05/2018 02:31, Steven D'Aprano wrote:
On Tue, 29 May 2018 20:02:22 +0200, Paul St George wrote:

Is there, somewhere, a list of viewers and their names (for the purposes
of this script)?
Do you mean a list of programs capable of viewing graphics? Do you think
there is some sort of central authority that registers the names of all
such programs? *wink*


You can start here:

https://en.wikipedia.org/wiki/Category:Graphics_software

but that's probably the closest you're going to get.




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

+44(0)7595 37 1302

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

Reply via email to