[ 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 _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig