[Image-SIG] im.show does not show, and Tkinter isn't displaying my jpg image

Rodrigo Dias Arruda Senra rsenra at acm.org
Sat Apr 5 17:43:46 CEST 2008


[ Fredrik Lundh ]:
---------------------
>Guy K. Kloss wrote:
>
>> I've been thinking already that xv is pretty much a tool of the
>> past. I've circumnavigated this problem on my Linux box by
>> sym-linking /usr/local/xv to /usr/bin/display (of ImageMagick).
>> Maybe it would be more appropriate for "moder times" to replace xv
>> with display within PIL for show() on UN*X platforms?
>
>indeed (and if someone wants to produce a well-tested patch for this,
>be my guest).

By the way, I'd like to suggest a solution similar to webbrowser in 
python's stdlib. We could encapsulate in a module tests for the
availability of several image viewers, and im.show() could fallback to
what was available (or configured) for the current platform.

cheers,
Rod Senra


More information about the Image-SIG mailing list