Package uk.ac.starlink.topcat.func
Class BasicImageDisplay
- java.lang.Object
-
- uk.ac.starlink.topcat.func.BasicImageDisplay
-
public class BasicImageDisplay extends java.lang.Object
Functions for display of graphics-format images in a no-frills viewing window (anImageWindow
). Supported image formats include GIF, JPEG, PNG and FITS, which may be compressed.- 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
displayBasicImage(java.lang.String label, java.lang.String loc)
Displays the file at a given location as an image in a graphical viewer.
-
-
-
Method Detail
-
displayBasicImage
public static java.lang.String displayBasicImage(java.lang.String label, java.lang.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.- Parameters:
label
- identifies the window in which the image will be displayedloc
- image location- Returns:
- short log message
-
-