Class BasicImageDisplay

  extended by

public class BasicImageDisplay
extends Object

Functions for display of graphics-format images in a no-frills viewing window (an ImageWindow). Supported image formats include GIF, JPEG, PNG and FITS, which may be compressed.

1 Oct 2004
Mark Taylor (Starlink)

Method Summary
static String displayBasicImage(String label, String loc)
          Displays the file at a given location as an image in a graphical viewer.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail


public static String displayBasicImage(String label,
                                       String loc)
Displays the file at a given location as an image in a graphical viewer. label may be any string which identifies the window for display, so that multiple images may be displayed in different windows without getting in each others' way. loc should be a filename or URL, pointing to an image in a format that this viewer understands.

label - identifies the window in which the image will be displayed
loc - image location
short log message

Copyright © 2003-2015 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.