Class Image

java.lang.Object
uk.ac.starlink.topcat.func.Image

public class Image extends Object
Functions for display of images in a window. Supported image formats include GIF, JPEG, PNG and FITS, which may be compressed. The SoG program (http://www.starlink.ac.uk/sog/) will be used if it is available, otherwise a no-frills image viewer will be used instead.
Since:
1 Oct 2004
Author:
Mark Taylor (Starlink)
  • Method Details

    • displayImage

      public static String displayImage(String label, String location)
      Displays the file at the given location in an image viewer.
      Parameters:
      label - identifies the window in which the imag will be displayed
      location - image location - may be a filename or URL
      Returns:
      short log message