Class Image


  • public class Image
    extends java.lang.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 Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String displayImage​(java.lang.String label, java.lang.String location)
      Displays the file at the given location in an image viewer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • displayImage

        public static java.lang.String displayImage​(java.lang.String label,
                                                    java.lang.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