public class HCompressorOption extends Object implements ICompressOption
| Constructor and Description |
|---|
HCompressorOption() |
| Modifier and Type | Method and Description |
|---|---|
HCompressorOption |
copy() |
ICompressParameters |
getCompressionParameters() |
int |
getScale() |
int |
getTileHeight() |
int |
getTileWidth() |
boolean |
isLossyCompression() |
boolean |
isSmooth() |
void |
setParameters(ICompressParameters parameters)
set the parameters that must be synchronized with the hdu meta data.
|
HCompressorOption |
setScale(int value) |
HCompressorOption |
setSmooth(boolean value) |
HCompressorOption |
setTileHeight(int value)
set the tile height in pixel.
|
HCompressorOption |
setTileWidth(int value)
set the tile width.
|
<T> T |
unwrap(Class<T> clazz)
un wrap a specific implementation detail.
|
public HCompressorOption copy()
copy in interface ICompressOptionpublic ICompressParameters getCompressionParameters()
getCompressionParameters in interface ICompressOptionpublic int getScale()
public int getTileHeight()
public int getTileWidth()
public boolean isLossyCompression()
isLossyCompression in interface ICompressOptionpublic boolean isSmooth()
public void setParameters(ICompressParameters parameters)
ICompressOptionsetParameters in interface ICompressOptionparameters - the parameters to synchronizedpublic HCompressorOption setScale(int value)
public HCompressorOption setSmooth(boolean value)
public HCompressorOption setTileHeight(int value)
ICompressOptionsetTileHeight in interface ICompressOptionvalue - the number of pixel.public HCompressorOption setTileWidth(int value)
ICompressOptionsetTileWidth in interface ICompressOptionvalue - the number of pixel.public <T> T unwrap(Class<T> clazz)
ICompressOptionunwrap in interface ICompressOptionT - the class to unrwapclazz - the type to unwrapCopyright © 1996–2018 nom-tam-fits. All rights reserved.