GtkImageViewer - An image viewer widget for gtk
Dov Grobgeld <dov.grobgeld@gmail.com>
19 November 2006
http://giv.sourceforge.net/gtk-image-viewer/
As a writer of several scientific image displaying tools I have always
wanted a good general purpose image display widget. The goal of the
GtkImageViewer widget is to fullfill that gap. Its interaction is a
mixture of the user interfaces of Gimp and of xv. The widget itself
handles zoom and panning. Additional functionality may be added
through callbacks.
Considerable emphasis has been put into the speed and the memory
requirements of the widget. While panning only the exposed areas
are redrawn, and the zoomed up image outside the display area is
never kept in memory.
The GtkImageViewer is perfectly suited to be used by any photo display
program and will provide a uniform interface for interacting with
images.
See the file src/testgtkimageviewer.c for a trivial example of the use
of this widget.
|