PictureView

PictureView is a PyGTK widget that can be used to build an application that shows pictures, e.g. a photo browser.

Similar to the most dektop environments' picture viewers it has controls to zoom (zoom in, zoom out, fit to window, original size) the picture and to switch between pictures in a directory.
The widget is completly written in Python to be platform independent.

You can find the source at GitHub: http://github.com/SvenFestersen/PictureView/tree/master

Installation

After downloading the source (there's a small download button on the GitHub page) and extracting the archive simply run

$ python setup.py install

as root. This installs the contents of the 'src' directory to the correct location for your Python installation.

Sample application

An example of a very basic picture viewer is located in the 'demo' directory (the screenshot below shows the demo application).

sample application using PictureView widget

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Recent comments