SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files
            GtkImageViewer - An image viewer widget for gtk
                Dov Grobgeld <dov@imagic.weizmann.ac.il>
                         6 October 2003
     http://imagic.weizmann.ac.il/~dov/freesw/gtk/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 gtk_image_viewer/test_wdg.c for a trivial example of the use of this widget.


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.