FITSDecodeParam.java
1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
* ESO Archive
*
* $Id: FITSDecodeParam.java,v 1.1.1.1 2009/02/17 22:24:18 abrighto Exp $
*
* who when what
* -------------- ---------- ----------------------------------------
* Allan Brighton 1999/11/17 Created
*/
package jsky.image.fits.codec;
import com.sun.media.jai.codec.ImageDecodeParam;
public class FITSDecodeParam implements ImageDecodeParam {
/**
* This specifies the size of the preview image. The default is 0,
* meaning that no preview image will be generated. If a value > 0
* is specified, it is taken to be the size of the window in which
* the preview image should fit.
*/
private int previewSize = 0;
public FITSDecodeParam() {
}
/**
* Set the size of the window used to display the prescaled preview image.
* This determines the scale factor.
*/
public void setPreviewSize(int i) {
previewSize = i;
}
/** Return the value of the previewSize property. */
public int getPreviewSize() {
return previewSize;
}
}