Package uk.ac.starlink.topcat.func
Class Image
- java.lang.Object
-
- uk.ac.starlink.topcat.func.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.
-
-
-
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 displayedlocation
- image location - may be a filename or URL- Returns:
- short log message
-
-