ImageView for wxPython is a widget for interactive viewing of graphics images.
It accepts either Python Imaging Library images or wxPython Image objects, and
it automatically provides user-interface support for panning around the image,
zooming in and out, and inspecting color values. If you wish, you can write
application-specific tools to be used in addition to or instead of the standard
pan, zoom and inspect tools.
ImageView for wxPython is free and open-source software.
A couple problems though. First, the placement of the color inspector
window is not very good if the taskbar is positioned on the right side
instead of on the bottom. You can wxGetClientDisplayRect to get a rectangle
of the screen that excludes the task bar and any other "bars", but perhaps
it woulds be better to put the inspector window over the lower right corner
of the top level parent of the ImageView window by default. Second, it is
leaking wxBitmaps and wxMask objects somewhere.
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!