Package uk.ac.starlink.topcat.func
Class Image
java.lang.Object
uk.ac.starlink.topcat.func.Image
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
Modifier and TypeMethodDescriptionstatic String
displayImage
(String label, String location) Displays the file at the given location in an image viewer.
-
Method Details
-
displayImage
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
-